Title |
Test
Find
32 bit unsigned integer
|
Expression |
^(429496729[0-6]|42949672[0-8]\d|4294967[01]\d{2}|429496[0-6]\d{3}|42949[0-5]\d{4}|4294[0-8]\d{5}|429[0-3]\d{6}|42[0-8]\d{7}|4[01]\d{8}|[1-3]\d{9}|[1-9]\d{8}|[1-9]\d{7}|[1-9]\d{6}|[1-9]\d{5}|[1-9]\d{4}|[1-9]\d{3}|[1-9]\d{2}|[1-9]\d|\d)$ |
Description |
Validates a 32bit integer from 0 through 4294967296 without leading zeros. An expansion of the 16 bit version http://regexlib.com/REDetails.aspx?regexp_id=1427 |
Matches |
0, 32768, 4294967296, 11111 |
Non-Matches |
-65535, 123.23, 4294967297, 01024 |
Author |
Rating:
Not yet rated.
David Nuss
|
Source |
|
Your Rating |
|