[jQuery] Is there a way to use regex to remove text from a filename
So if I have the following text that prints out on the page
file.gif
Is there a way in jquery to search for the ".gif" and remove it from
showing up and/or replace it with an icon?
please let me know