Community Patterns

Community Library Entry

1

Regular Expression
Created·2021-09-10 13:12
Flavor·ECMAScript (JavaScript)

/
\.(?=[^.]*$)
/
gm
Open regex in editor

Description

Find last occurrence of . can be replaced with anything .

Submitted by Volgers