Hi,

In a nutshell I need to find all instances of the below link (see below)
in a article. The article could be 2 lines long or 2000 lines long and
the again the there could be 2 links or 2000 links.

This is an example of the link I need to look for and replace:

<A class=jargon href="javascript:popUpJargonDefinition(136)">katie</A>

NOTE: The ID (in this case "136") will change and the label (in this
case "katie") will also change, everything else will be the same.


This is how far I got but it doesn't work and im really scratching my
head:

<CFSET foo = REReplaceNoCase(foo,'^.*<A class=jargon
href="javascript:popUpJargonDefinition([0-9]*)">([^<]*)</a>.*$',"\1")> 

(sorry for the word wrap)

Any help would be greatly appreciated!

Thanks


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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

Reply via email to