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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^(0*100{1,1}\.?((?<=\.)0*)?%?$)|(^0*\d{0,2}\.?((?<=\.)\d*)?%?)$
Description
Percentage (From 0 to 100)
Matches
100% | 100 | 52.65%
Non-Matches
-1 | -1% | 100.1%
Author Rating: The rating for this expression. Andres Garcia
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: Does not work with JAVA
Name: Paulo Roberto de Camargo Mello Junior
Date: 6/17/2009 11:15:30 AM
Comment:
it can't work with JAVA in the IE and Firefox Browser...


Title: Does not work
Name: Nobody
Date: 7/23/2008 3:28:43 PM
Comment:
Does not work in ASP.NET 2.0 regular expression validator control.


Title: It's not working
Name: tester
Date: 7/4/2006 9:06:38 AM
Comment:
It's not working


Title: Programmer
Name: Jatin
Date: 7/7/2004 7:06:00 AM
Comment:
Its not work in an ASP.NET regular expression validator control.


Title: Does Not Work in ASP.NET Validator
Name: jbfraley
Date: 2/16/2004 2:30:24 PM
Comment:
Does not work in an ASP.NET regular expression validator control.


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