myfetch =~ /.+\\(.+)/;
Also note that the $1 doesn't go in the match itself; you would use it later, perhaps by assigning it to a variable.
Update: added the first .+ to the regex
TheEnigma
In reply to Re: Fetching last part of url
by TheEnigma
in thread Fetching last part of url
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |