Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(?:\.[^.]*)?$
/
mg

Description

Changes extension in a file name.

Submitted by Mi-L@ - 9 years ago