Community Patterns

Community Library Entry

0

Regular Expression
Created·2016-07-17 09:27
Flavor·ECMAScript (JavaScript)

/
^.*?((?:\.\w+)+)$
/
Open regex in editor

Description

Get the file extension from a path regardless of dots in folder names leading to the file

Submitted by Louis Capitanchik