Regular Expressions 101

Library entries

[Fixed] Parse all simple math expressions (decimal, negative, whole)

Vote

1

Regular Expression
pcre

/
([\d]+[.][\d]+)|([\d]+)|([\+\-\*\/\^]+)|([\(\)])*
/
g

Description

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