Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Get file extension in javascript

file.originalname.match(/..*$/)[0]
Source by regex101.com #
 
PREVIOUS NEXT
Tagged: #Get #file #extension #javascript
ADD COMMENT
Topic
Name
8+2 =