Regular Expressions 101

Community Patterns

1...34567...901

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^\((\d+\)? (AND|OR) )+\d+(\)|\) .*?)$|^(\(?\d+\)? (AND|OR) )+\d+(\)|\) .*?)$|^(\d+ (AND|OR) )+\d+$
/
gim

Description

lol

Submitted by piterden - 3 years ago