yep ben i had it figured out:)
lol
by the way, thanks for the great presentation on this last night

dave
----- Original Message -----
From: "Ben Doom" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 12:21 PM
Subject: RE: SOT: RegEx Help!


> If this is in a larger page context, I probably wouldn't use (.*) since
that
> would grab everything from the open anchor tag to the /last/ closing
anchor
> tag.  I'd use
> ([^<]*)
> However, if that's your whole context, Jochem's answer works great.
>
>
> --  Ben Doom
>     Programmer & General Lackey
>     Moonbow Software, Inc
>
> : -----Original Message-----
> : From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
> : Sent: Friday, March 14, 2003 6:23 AM
> : To: CF-Talk
> : Subject: Re: SOT: RegEx Help!
> :
> :
> : Oliver Cookson wrote:
> : >
> : > Im looking for this string (see bottom) and want to remove EVERYTHING
> : > except the word "a string here". This string could be any length or
any
> : > combo of chars\integers.
> : >
> : > Also the JS arg (14) is dynamic so that could be any number,
everything
> : > else is static.
> : >
> : > <A class=jargon href="javascript:popUpJargonDefinition(14)">a string
> : > here</A>
> :
> : Do you mean this string is part of a larger text? Use:
> : <cfset text = REReplaceNoCase(text,'^.*<A class=jargon
> : href="javascript:popUpJargonDefinition([0-9]*)">(.*)</a>.*$',"\1")>
> : else:
> : <cfset text = REReplaceNoCase(text,'<A class=jargon
> : href="javascript:popUpJargonDefinition([0-9]*)">(.*)</a>',"\1")>
> :
> : Jochem
> :
> :
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to