Title |
Test
Find
Pattern Title
|
Expression |
^\d{1,5}(\.\d{1,2})?$ |
Description |
validate a number 5 digits and 2 decimal places allowing zero |
Matches |
12345.67 | 0 | 0.1 |
Non-Matches |
123456.78 | 123456.789 | .1 |
Author |
Rating:
Paul Ashton
|
Source |
|
Your Rating |
|
Title: javascript RegExp is not working
Name: alahari
Date: 10/11/2014 6:21:25 AM
Comment:
the same format is working in a regular expression but not working in java script. any help?
Title: It works for me
Name: nelson
Date: 6/17/2013 9:50:23 PM
Comment:
Thanks, it fits what I need.
Title: 000 through 999 only
Name: lonnie
Date: 1/5/2011 7:00:31 AM
Comment:
no negatives or seperators, is it around 300 combos?