Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-06-21 21:23
Flavor·ECMAScript (JavaScript)

/
([\w!@#$%^&*_=+\-]{2,}).*?\1
/
g
Open regex in editor

Description

Lookup if a set of two or more characters show up again in the string.

For JavaScript ECMAScript

Submitted by rdmoedas