regular expression help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Can someone here give me a glue how to do the following. I guess I need to 
use regular expressions here. I have absolutely zero experience with regular 
expressions. (if there's another way to do this I don't mind. I jus need to 
get this done somehow :)

I need to strip all characters from the following text string exept the 
image path...

"<img width=\"99\" height=\"120\" border=\"0\" 
src=\"../../images/new/thumps/4123141112007590373240.jpg\" />"...and then 
store the path to DB. Image path lengh can vary so I guess that I need to 
extract all characters after     scr=\"    until next    \"    or somethig 
similar.

Thanks for your advise!
-Will

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux