NYCPHP Meetup

NYPHP.org

[nycphp-talk] typical regex question

Joel De Gan joel at tagword.com
Tue Jul 20 17:21:19 EDT 2004


http://regexlib.com/
run a search..
-joeldg


On Tue, 2004-07-20 at 20:47, Marc Antony Vose wrote:
> Hey there:
> 
> Because every coding list needs a regex question every now and then, 
> I thought I'd contribute and fill the quota.
> 
> I'm having a little personal struggle with replacing selected words 
> in a long article which is in HTML.  I want to search for words and 
> replace them with a link, but not if they are already inside a 
> title="" attribute of a tag.
> 
> Don't need a complete solution, but some guidance would be 
> appreciated, since my efforts are currently resulting in failure.
> 
> Cheers,
-- 
joeldg - developer, Intercosmos media group.
http://lucifer.intercosmos.net




More information about the talk mailing list