Keep It Simple, Stupid | |
PerlMonks |
Re: regex helpby andrew (Acolyte) |
on Sep 27, 2002 at 21:24 UTC ( [id://201354]=note: print w/replies, xml ) | Need Help?? |
Alright $a =~ s|/browse(/.*/)|$1|i; $a = $1; That seems to work :), but what if the url conatins '\' instead of '/' like how could I check for both.
In Section
Seekers of Perl Wisdom
|
|