Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
joeDangelo #1
RegEx replace?
Im looking for some method similar to what Dreamwear has for it's regular expression search/replace... it allows you to reference the found text with a $1. Any suggestions?
joeDangelo Guest
-
regex replace
Hi. I've a requirement in regular exp.. I need to replace a pattern...can anyone help me out,... My input string is as below <img... -
RegEx? To replace URLs in a string
Hi, I have a lump of text which may or may not contain URLs, either with or without their http:// construct. I need to replace every instance... -
regex replace string garbling
I'm trying to build a quick Extension to format selected HTML source into lines of JavaScript document.write(). So far, I'm using regex to replace... -
Regex, how do I replace quotation pairs into <LI> & </LI>?
Basically, my texts consists of normal text stream and some quotations. This is my text stream, and inside "this streams" there are some... -
search and replace using regex
You may want to start looking at some XML parsing modules, but assuming this is a quickie, I can point out that your problem is starting with the... -
Trygve #2
Re: RegEx replace?
Are you maybe talking about backreferences? CF RegEx supports it, but with
backslash, not dollar sign.
Example:
String = ReReplaceNoCase(String, "\[url=([^]]*)\]", "<a href=""\1""
target=""_blank"">", "All");
Trygve Guest
-



Reply With Quote

