In original question, just a backslash is needed before slash, in this case regex will get everything after last slash in the string
([^\/]+$)
In original question, just a backslash is needed before slash, in this case regex will get everything after last slash in the string
([^\/]+$)