js function to get filename from url

var filename = url.split("https://stackoverflow.com/").pop()

Leave a Comment