Regular Expressions 101

Community Patterns

Get the extension of file

1

Regular Expression
ECMAScript (JavaScript)

/
.*\.(\w{3,})$
/
gmi

Description

Get the extension of file

Submitted by Taffarel Xavier - 9 years ago