Peter Boughton wrote: > Hi Ian, I've cc-ed you directy incase the HoF emailing doesn't work again. > > Hmm, well in theory you'd make the outer bits non-greedy, but when > you've effectively made all parts optional, I'm not sure about > specifying a "priority" for which optional one is most important... > <a([^>]*?)(target="[^"]*")?([^>]*?)> >
Thanks, I got this message. It looks like I posted my own code in my first thread [http://www.houseoffusion.com/groups/regex/thread.cfm/threadid:232#1213] about the same time as you posted yours here. I knew I could fairly easily develop code that would accomplish my goal if I broke it up into several steps. But as I am not very skilled at Regular Expressions yet and this is just for a playtime project, I wanted to see how it could be done with Regular Expressions as my intuition said it should be able to be done. If you care to review and critique my code I would be most happy to hear what you might have to say. Thanks for you help. Ian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1216 Subscription: http://www.houseoffusion.com/groups/regex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21
