Regular Expressions 101

Community Patterns

0

Messages

ECMAScript (JavaScript)
Show messages
Submitted by Bot - 2 years 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