Hi Dave--thanks for getting back to me!
I actually got the script off of this site (http://www.perlmonks.org/?node_id=98208)
I am searching for: "img alt="" src=" and would like the script to then return the 10 characters after that.
Below is a sample of the text I am going through. For this example, it will only return the first (<img alt="" src="http://www.xyz/12345.jpg"), and not any other matches. Am I going about this the correct way, or would some sort of wildcard search be easier?
<img alt="" src="http://www.xyz/12345.jpg" original-title="lol<p>
+;<span class='points-vkL2Q'>497</span> <span clas
+s='points-text-vkL2Q'>points</span> : 456 : 4 days</p>
+"></a><div class="hover"><div class="arrows"><div title="like" class=
+"arrow up " data="vkL2Q" type="image"></div><div title="dislike" clas
+s="arrow down " data="vkL2Q" type="image"></div></div></div></div><di
+v id="mSHi8" class="post"><a href="/gallery/mSHi8"><img alt="" src="h
+ttp://i.xyz.com/mSHi8b.jpg"
|