I am trying to follow the regex example on page 82 of Ben Forta's "regular Expressions in 10 Minutes" book. The example does a simple replace using matched text and reReplaceNoCase().
<cfset newString = "[EMAIL PROTECTED]">
#newString#<br>
<cfset newString = reReplaceNoCase(newString, "([EMAIL PROTECTED])", "<a href="">
#newString#<br>
The problem is that it doesn't seem to replace the matched text when using the $1.
Am I missing something here?
Josen
GoMotorsBids.com
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- RE: RegEx Problem Trying to Use Matched Text Josen Ruiseco
- RE: RegEx Problem Trying to Use Matched Text Michael Dinowitz
- RE: RegEx Problem Trying to Use Matched Text Pascal Peters
- Re: RegEx Problem Trying to Use Matched Text Josen Ruiseco
- Re: RegEx Problem Trying to Use Matched Tex... Ben Doom
- Re: RegEx Problem Trying to Use Matched... Josen Ruiseco
- Re: RegEx Problem Trying to Use Ma... Jeff Price
- Re: RegEx Problem Trying to Use Ma... Ben Doom
- RE: RegEx Problem Trying to Use Matched Text Jason Reichenbach