Title |
Test
Find
Percentage
|
Expression |
^[0]*?(?<Percentage>[1-9][0-9]?|100)%?$ |
Description |
it matches percentage from 1 to 100%. It ignores 0 or 0%. It only support integer matching. |
Matches |
1% | 99% | 00099% | 99 |
Non-Matches |
101% | 0% |
Author |
Rating:
Manish
|
Source |
|
Your Rating |
|
Title: it needs some changes but it works
Name: Simona
Date: 6/18/2014 8:50:08 AM
Comment:
I had to chang it in this way:
^[0]*?([1-9][0-9]?|100)%?$
to match what I needed, in this way it match a string containing ONLY a percentage and nothing else
Title: it needs some changes but it works
Name: Simona
Date: 6/18/2014 6:27:59 AM
Comment:
I had to chang it in this way:
^[0]*?([1-9][0-9]?|100)%?$
to match what I needed, in this way it match a string containing ONLY a percentage and nothing else