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 Percent 0.00-100.00
Expression
^100$|^100.00$|^\d{0,2}(\.\d{1,2})? *%?$
Description
Allows percent values from 0 to 100 without the % sign. Can be used with up to 2 decimal places or without any. Also works in ASP.NET regular expression validator control.
Matches
0|0.00|50.25|100|100.00
Non-Matches
100.01|-1|5.005
Author Rating: Not yet rated. Greg Knierim
   Displaying page 1 of 1 pages; Items 1 to 1

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