I have a block of dynamic text within a site in which I would like to add an
onclick event to all href tags that are not from a specified domain.

If the domain within the href is mydomain.com, i do not want to add the
onclick.  If the domain is not mydomain.com, I want to add the onclick.   Is
it possible to do this with a regexp and rereplace?

TIA,
John



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to