Question : regular expression 1-100 and decimals

I need a reg exp for a number from 1 to 100 and also excepting two decimal places

1 = T
100 = T
50.5 = T
75.75 = T

101 = F
.034 = F
50.755 = F

Answer : regular expression 1-100 and decimals

If you are testing for the exact string, then you can add the start/end of line markers:
1:
^(?:100|\d{1,2}(?:\.\d{1,2})?)$
Random Solutions  
 
programming4us programming4us