Regular Expressions 101

Community Patterns

parenthesized numerical expression

0

Regular Expression
PCRE (PHP <7.3)

~
[+-]?(?:\d+(?:\.\d+)?|\([ \t]*(?R)[ \t]*\)) (?:[ \t]*[*+/-][ \t]* [+-]?(?:\d+(?:\.\d+)?|\([ \t]*(?R)[ \t]*\)))*
~
xg

Description

no description available

Submitted by pooty - 9 years ago