Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Match and Extract String with Regexby monkfan (Curate) |
on Nov 17, 2007 at 01:39 UTC ( [id://651361]=perlquestion: print w/replies, xml ) | Need Help?? |
monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Dear fellow monks, I have these two strings: How can I extract element of $str2 that match with $str1, such that in the end the extraction just give this as results: Note that these two strings can contain any characters (even whitespace, semicolon(;), etc) and of any lengths. Regards, Edward
Back to
Seekers of Perl Wisdom
|
|