The stupid question is the question not asked | |
PerlMonks |
Regx: match without regarding space and caseby atemon (Chaplain) |
on Sep 13, 2007 at 05:45 UTC ( [id://638734]=perlquestion: print w/replies, xml ) | Need Help?? |
atemon has asked for the wisdom of the Perl Monks concerning the following question: There are 2 strigs, say I want to search for $y in $x regardless of the spaces and case and retrieve the matched string in $x. In $x, the extra character comes can be space (only) and it can come any number of times like "My Na me" We can match by making a temp string and removing space and match. Then I cant get the matching string :( Thanks in advance. --VC There are three sides to any argument..... your side, my side and the right side.
Back to
Seekers of Perl Wisdom
|
|