Hi All, I'm trying to come up with a regular expression for CF8 that finds links in text and inserts a call to a pop up window in the on click event. I came up with the following that works in Javascript:
myStr.replace(/<\s*a\s+([hH][rR][eE][fF])\s*=/g, '<a onclick="popwin(this.href); return false;" href='); I now need to convert this to something CF will use and I'm failing miserably. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333291 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

