I think
reReplace( "(<a href=")[^"](.*?a>)", "\1\2", "all" )

Taco Fleur - CEO
Pacific Fox http://www.pacificfox.com.au 
an industry leader with commercial IT experience since 1994 .

** Web Design and Development 
** SMS Solutions, including developer API
** Domain Registration, .COM for as low as AUSD$15 a year, .COM.AU for
AUSD$50 two years!
** Seamless Merchant integration
** We endorse PayPal, accept payments online now!


> -----Original Message-----
> From: Tim Raster [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, 20 October 2005 7:41 AM
> To: CF-Talk
> Subject: RegEx to Empty HREFs
> 
> 
> I tried to read up on the RegEx stuff, but my little brain 
> can't handle it.
> 
> I have a big string of html text in a variable, and I want to 
> replace all the HREF parameters within the A tags with empty 
> strings.  For example change all occurrences of:
> 
> ......<a href="URL_Stuff_Here" class="blah">blah</a>...
> 
> Into this:
> 
> ......<a href="" class="blah">blah</a>...
> 
> I basically just want to empty the HREFs.  What RegEx 
> expression can I use in a REReplace?
> 
> TIA!
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221565
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to