in reply to simple regex question
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.
|
|---|