I have a link
http://www.youtube.com/v/395hgf98f
Link can be posted in another way as well like so
http://youtube.com/v/395hgf98f
These aren't real links I don't think I just typed a bunch of letters. Any ways I want to remove all before the ending pathname.
I tried replace(/^[^/]*//,'');
Which didn't work. And it would be hard since there are 4 backslashes in the url. Could we do something like
v+/ or v/ together to make sure it removes the v and the next backslash together?
Regex is not a strong suit and really only know a bit of it.