In CF it is \1 : "<a href="">
Pascal

> -----Original Message-----
> From: Josen Ruiseco [mailto:[EMAIL PROTECTED]
> Sent: 08 September 2004 19:27
> To: CF-Talk
> Subject: RegEx Problem Trying to Use Matched Text
>
> 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