Re: [PHP] Regex to grab a Windows Path from a String...

2003-12-17 Thread sumbry
> > 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('/]+src[ ]*=[ ]

[PHP] Regex to grab a Windows Path from a String...

2003-12-17 Thread sumbry
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). Basically my users are allowed to specify HTML

Re: [PHP] ^M in PHP

2003-03-13 Thread sumbry
ave that dos2unix conversion utility handy: # strings filename > newfile.html -- "A real patriot is the fellow who gets a parking ticket and rejoices that the system works." Sumbry <[EMAIL PROTECTED]> http://sumbry.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php