Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
\.(?=[^.]*$)
/
gm

Description

Find last occurrence of . can be replaced with anything .

Submitted by Volgers - 3 years ago