KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a full path to an image, which I am using jQuery to read like this: $('img.my_image').attr('src'); However I just want the filename portion (i.e. without full path). Are there any built-in functions to do this, or would a regex be the only option?
Tags (comma-separated)
Save Edits
Cancel