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 non zero positive integer
Expression
^(0+[1-9]|[1-9])[0-9]*$
Description
used to validate form fields values for positive integer values greater than 0 without explicitly checking if the input form value is greater than 0
Matches
122, 9992, 000022
Non-Matches
0, 00000, 1.2, -3.22
Author Rating: The rating for this expression. Anurag
   Displaying page 1 of 1 pages; Items 1 to 1

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