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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^( 100(?:\.0{1,2})? | 0*?\.\d{1,2} | \d{1,2}(?:\.\d{1,2})? )% $
Description
Matches a percentage between 0 and 100 (inclusive). Accepts up to 2 decimal places.
Matches
0% | 100% | .17%
Non-Matches
101% | -17 | 99.006%
Author Rating: Not yet rated. Darren Neimke
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Works Perfect!!!!!!
Name: Goodgirl
Date: 1/1/2006 7:56:12 PM
Comment:
Thanks for ur regex.This was exactly what I wanted.Thank u once again


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