On Fri, 2004-02-13 at 13:25, pete M wrote:
> Im trying to  scan a file and lift the image name from the <img tag
> 
> ie
> <img src="THISBIT.ext">
> where there could be ' or "
> 
> I messed around but am 2 embarassed to post code cos it dont work ;-(

Always post code, it can help us understand what you are looking to do. 
Are you looking for a regexp?
'/<img\s+src=([\'"])([^\1]+)\1\s*\/?\s*>/i'

-- 
Adam Bregenzer
[EMAIL PROTECTED]
http://adam.bregenzer.net/

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

Reply via email to