Remove everything before the last Slash

Hi to all,

I am looking for a regular expression that will remove everything before the last slash in the following string:
https://mysite.com/OfficeSupply/DXR.axd?r=0_193-f8_D3

That will leave me with just the following:
DXR.axd?r=0_193-f8_D3

Thanks
ALawrence007Asked:
Who is Participating?
 
farzanjCommented:
Language?
Try substituting .*\/ with nothing
In Perl: s/.*\///
0
 
ALawrence007Author Commented:
Thanks farzanj
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.