Regular Expressions 101

Sponsors

Library entries

0
python

Rename files

Python regex of multiple file rename
Submitted by anonymous - 2 months ago
0
javascript

Messages

Show messages
Submitted by Bot - 2 months ago
0
javascript

get numbers removing zeros from left

oq?
Submitted by anonymous - 2 months ago
-1
javascript

.NET tools

a
Submitted by anonymous - 2 months ago
0
javascript

1030

Validation
Submitted by Christopher Santos - 3 months ago
0
javascript

Michele XP E

Teste
Submitted by Luciano - 3 months ago

Currency amount validation with sign (cents optional)

Vote

1

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by NatZol - 7 months ago