Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

regular expression

Posted on 2004-10-29
8
Medium Priority
?
292 Views
Last Modified: 2013-12-24
I am not able to replace the #char(10)##char(13)# with <P> regular expression. This is what I am using.
REReplace("mystring","#char(10)##char(13)#","<P>","ALL")#
Nothing happens whenever I output mystring again it gives me the same result.
This is very urgent.
0
Comment
Question by:pathcf
  • 5
  • 3
8 Comments
 
LVL 21

Accepted Solution

by:
pinaldave earned 2000 total points
ID: 12450006
1) remove the extra quotes around mystring like this...
REReplace(mystring,"#char(10)##char(13)#","<P>","ALL")#

are you sure y ou are surrounding it with cfoutput when you try to put the string?
0
 
LVL 21

Expert Comment

by:pinaldave
ID: 12450013
2) "#char(10)##char(13)#"
is correct but I am using "#ch(13)##ch(10)#"
try that also...
Regards,
---Pinal
0
 

Author Comment

by:pathcf
ID: 12450024
pinaldave thank you for quick resonse. I know that much atleast to cover the output with cfoutput.
where can i find more info for char like this?
I will try and will tell you.
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
LVL 21

Expert Comment

by:pinaldave
ID: 12450027
well, http://www.asciitable.com/ you can find more information.
0
 

Author Comment

by:pathcf
ID: 12450034
thank you. I think it works. Nice game with ascii.
0
 
LVL 21

Expert Comment

by:pinaldave
ID: 12450036
well glad to help you...
which game of ascii ?
Regards,
---Pinal
0
 

Author Comment

by:pathcf
ID: 12450041
if you go to that ascii page you send me there is  a game on right side about clicking button.
0
 
LVL 21

Expert Comment

by:pinaldave
ID: 12450046
=)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month13 days, 3 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question