javascript get url segments 25 Javascript Get Url Segment 28/5/2020 · While working on a project, I had the need to get the last segment of a path. In this case it was a filesystem … Written By Anonymous Tuesday, December 31, 2019 Add Comment Edit