perlquestion
sv123
So I have some html I need to extract the IMG from. An example would be something like;
<code>
<p><a href='/blah.html' target='_self' style='text-decoration: none;'><img id="blah.flv" src="http://WHAT-I-NEED-TO-GR.AB" height="232" width="308" onmouseout='endm("etc"); this.src="http://unimportant.jpg";' onmouseover='startm("etc","http://etc",".jpg");' border=0></a><br>some text</p>
</code>
It's the text inside the first "src=" I'm interested in. I tried something like;
<code>
$moo =~ m/src="(.*)"/;
</code>
and variations of that with no luck. Since I have the most luck here asking, well... Here I am!
Thanks (yet again!) in advance (: