javascript find file extension from string
snippet in javascript

javascript find file extension from string

user5554

var ext =  fileName.split('.').pop();