if($mystring =~ m!([^/]+)$!){
More information on metacharacters can be found in Regular Expressions in perlre or Simple word matching in perlretut.
In reply to Re: A question on Regex
by kennethk
in thread A question on Regex
by siddheshsawant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |