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
Just in case someone else comes across this thread and is looking for a simple JS solution:
id.split('/').pop(-1)