Regular Expressions 101

Community Patterns

Simple math regex

3

Regular Expression
ECMAScript (JavaScript)

/
([0-9]+)(\+|\*|\-|\/)([0-9]+)
/
g

Description

no description available

Submitted by anonymous - 9 years ago