Perl: Search html file for random string using regex
So I am trying to use perl to search through and html file, looking for a semi-random string and store the match in a variable or print it out.

The string is the name of a jpg image and always follows the pattern of 9 digits followed by 6 lower case letters, i.e.

140005917smpxgj.jpg

But it is random every time.  I am sure perl can do this, but I will admit i am getting a bit confused.

Any help would be greatly appreciated.  Thanks!
Perl: Search html file for random string using regex
===

So I am trying to use perl to search through and html file, looking for a semi-random string and store the match in a variable or print it out.

The string is the name of a jpg image and always follows the pattern of 9 digits followed by 6 lower case letters, i.e.

140005917smpxgj.jpg

But it is random every time.  I am sure perl can do this, but I will admit i am getting a bit confused.

Any help would be greatly appreciated.  Thanks!