Regular Expressions 101

Community Patterns

1

loyal

PCRE2 (PHP >=7.3)
loyal
Submitted by anonymous - 4 days ago
1

named capture

PCRE2 (PHP >=7.3)
simple named capture
Submitted by Gene - 4 days ago

US Currency Format

12

Regular Expression
ECMAScript (JavaScript)

/
^\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\.[0-9][0-9])?$
/
mg

Description

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