in reply to A question on Regex
if($mystring =~ m!([^/]+)$!){
More information on metacharacters can be found in Regular Expressions in perlre or Simple word matching in perlretut.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A question on Regex
by siddheshsawant (Sexton) on Mar 24, 2010 at 19:47 UTC |