Hello,

I'm trying to extract an image name from the follow html tag

$imageURL = "<IMG SRC="picserve.cgi?picserve=/thebest_Small.png" BORDER=0>"

now I need to extract the 'thebest_Small.png' filename from the img tag, but havent't been able to figure out how to do this correctly.

i tried:
$imageURL =~ !<IMG SRC="picserve.cgi?picserve=/(.*)" BORDER=0>!;
$pic      = $1;

but that produces errors. what I'm doing wrong here ??

TIA,
--
Mike(mickalo)Blezien


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to