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 2
Title Test Details Positive percentage
Expression
^[+]?100(\.0{1,2})?%?$|^[+]?\d{1,2}(\.\d{1,2})?%?$
Description
Matches positive percentage strings with '+' as an optional prefix and '%' as an optional postfix.
Matches
0 00 02 025 2.5 2.50 25.01 100 100.00 +60.63 +70.71% 0.01%
Non-Matches
-1 101 100.01 100 000 +000 25.001 1,50 25%% ++50 70+ 80%+
Author Rating: Not yet rated. Marcel
   Displaying page 1 of 1 pages; Items 1 to 2

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