However, if there's a good reason to do it with a regular expression, you can use:
/([^\\]*)$/
which will match and extract all the characters between the last backslash and the end of the string. Note this will fail on to do what you want on non-MS systems. See perlretut for more regular expression information.
In reply to Re: simple regex question
by kennethk
in thread simple regex question
by redss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |