Taco If you're using Eclipse there's a great plugin to test regex available (even better, like Eclipse it's free):
Robin demonstrated it at a recent CFUG here in Sydney: http://www.rocketboots.com.au/blog/index.cfm?mode=entry&entry=6FAD4671-E081-51EF-A7B266ACE05CC38A Andrew On Wed, 15 Sep 2004 14:21:53 +1000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > got it. > no worries.... > > On 15 Sep 2004 at 14:05, [EMAIL PROTECTED] wrote: > > > text <a href="link I want">text I might be wanting</a> text <a href="link I > > want">text I might be > > wanting</a> > > > > <cfset form.contentHTML = reReplaceNoCase( form.contentHTML, '<a > > href="(.*[^"]+)">.*[^<]+</a>', " [ copy and paste link: \1 ] ", "all" ) /> > > > > Is being to greedy, and I can't seem to get my head around it, anyone? > > > > -- > > Taco Fleur > > Senior Web Systems Engineer > > http://www.webassociates.com --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/