Regular Expressions 101

Community Patterns

Match all dots except last one

0

Regular Expression
ECMAScript (JavaScript)

/
\.(?=.*\.)
/
gm

Description

Match all dots except last one

Submitted by sagarpanchal - 3 years ago