Displaying page
of
pages;
Items to
Title |
Test
Details
IsNumeric
|
Expression |
^(?:(?:[+\-]?\$?)|(?:\$?[+\-]?))?(?:(?:\d{1,3}(?:(?:,\d{3})|(?:\d))*(?:\.(?:\d*|\d+[eE][+\-]\d+))?)|(?:\.\d+(?:[eE][+\-]\d+)?))$
|
Description |
This regex will validate the given string is numeric
|
Matches |
$123.1234 | .123 | .123e+01
|
Non-Matches |
asdf | , | 1,1 | .
|
Author |
Rating:
Mitch Freed
|
Displaying page
of
pages;
Items to