Getting just the filename from a path with JavaScript December 18, 2023 by Tarik var Filename= path.split("https://stackoverflow.com/").pop()