> > My regex skills are serious lacking and after scouring the net for > > relevant links I'm a bit stuck. I've got a textarea field where I pull > > user input from, and I'd like to search this entire field for a Windows > > Directory Path (ex. C:\Documents\Blah).
> if(preg_match('/<img[^>]+src[ ]*=[ ]*(|"|\')[a-z]{1}:\\\/i', $string)) > echo "local links used"; This worked beautifully. Thanks a bunch. -- "Don't 'kill -9' the SYSVMSG" [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php