I've spent half an hour trying to get this, maybe someone can come up with it quickly.
I need a regular expression that will match one or two digits, followed by an optional decmial point, followed by one or two digits.
For example, it should match these strings in their entirety:
3
33
.3
.33
33.3
33.33
and NOT match anything with more than 2 digits before or after the decmial point.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…