moving in the right direction
<cfset blah =
ReFindNoCase("[EMAIL PROTECTED]")>
_____
From: Ben Doom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 3:58 PM
To: CF-Talk
Subject: Re: RegEx Problem Trying to Use Matched Text
CF5 doesn't support Perlish character classes (ie "\w").
IIRC, you can use [[:alnum:]] to replace them.
BTW -- are you sure this is a direct copy from the book (aside from the
\1 vs $1 change)? It looks odd in several ways to me.
--Ben
Josen Ruiseco wrote:
> I am using the following and I get the email address twice. The second
string is not a link.
>
> <cfset newString = "[EMAIL PROTECTED]">
> #newString#<br>
> <cfset newString = reReplaceNoCase(newString,
"([EMAIL PROTECTED])", "<a href=""> > #newString#<br>
>
> Am I not doing something right? I'm on CF5.
>
> Josen
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

