Regular Expressions 101

Library entries

Simple math regex

Vote

3

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by anonymous - 7 years ago