I\'m working with a Google API that returns IDs in the below format, which I\'ve saved as a string. How can I write a Regular Expression in javascript to trim the string to
this regexp: [^\/]+$ - works like a champ:
[^\/]+$
var id = ".../base/nabb80191e23b7d9" result = id.match(/[^\/]+$/)[0]; // results -> "nabb80191e23b7d9"