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 Pattern Title
Expression
(^\d*\.?\d*[0-9]+\d*$)|(^[0-9]+\d*\.\d*$)
Description
This matches all positive decimal values. There was one here already which claimed to but would fail on value 0.00 which is positive AFAIK...
Matches
0.00 | 1.23 | 4.56
Non-Matches
-1.03 | -0.01 | -0.00
Author Rating: The rating for this expression. Derek Noonan
   Displaying page 1 of 1 pages; Items 1 to 1

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