The stupid question is the question not asked | |
PerlMonks |
extracting a substring?by CHRYSt (Acolyte) |
on Jan 16, 2002 at 23:06 UTC ( [id://139285]=perlquestion: print w/replies, xml ) | Need Help?? |
CHRYSt has asked for the wisdom of the Perl Monks concerning the following question:
Ok, another noob question, but I can't find any info on how to do exactly this. (I've found similar stuff, but I can't figure out how to modify it so it works.) How can I extract a string from a larger string using regex, and put it into a variable? I'm searching for a string that's in an unknown place in the larger one, and is an unknown length. I'm specifically searching for the string: alt="Version x.xx" from a bunch of HTML
Back to
Seekers of Perl Wisdom
|
|