Regular Expressions 101

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

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

Description

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

For JavaScript ECMAScript

Submitted by rdmoedas - 3 years ago