Regular Expressions 101

billions and billions of $$$

Open Workspace
  • PCRE (Legacy)
  • Match
1

Regular Expression

%
[+-]?[0-9]{1,3}(?:,?[0-9]{3})*\.[0-9]{2}
%
g

Description

optional commas with 2 digit cents

Submitted by bob