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]

Reply via email to