RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Positive Integers (Data type)
Expression
^(\d|\d{1,9}|1\d{1,9}|20\d{8}|213\d{7}|2146\d{6}|21473\d{5}|214747\d{4}|2147482\d{3}|21474835\d{2}|214748364[0-7])$
Description
Matches any integer from 0 to 2147483647 (max Integer size for C#, Java, others)
Matches
0 | 352533 | 2147483647
Non-Matches
-1 | 2.4 | 2147483648
Author Rating: The rating for this expression. Alex Koller
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials