Regular Expressions 101

Library entries

https://stackoverflow.com/questions/50503122/regex-to-validate-the-conditions-evaluation-logic-which-is-defined-by-user/55913082#55913082

Vote

0

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by piterden - 10 days ago