Regular Expressions 101

Library entries

Match dollar amounts that do not contain a $ both + and -

Vote

0

Regular Expression
pcre

/
(-)?([0-9]{1,3})(,)?([0-9]{1,3})?(,)?([0-9]{1,3})?(.)([0-9]{2})
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago