Your needed match pattern could be (pseudo code)
1) start with optional spaces
2) followed by optional text "upto" followed by one or more spaces
3) followed by either
3.1) one of the digits 0-9
3.2) or one of the digits 1-9 followed by one of the digits 0-9
4) followed by optional spaces an followed by "%"
5) end on optional spaces
Translated into C#:
@"^\s*(?:upto\s+)?[1-9]?[0-9]\s*[%]\s*$"
Use that in a
Regex C# class[
^].
Cheers
Andi