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
^(\d{0,2}\\.)?\d{1,2}$
\d{1,2}$ matches a 1-2 digit number with nothing after it (3, 33, etc.), (\d{0,2}\.)? matches optionally a number 0-2 digits long followed by a period (3., 44., ., etc.). Put them together and you've got your regex.
\d{1,2}$
3
33
(\d{0,2}\.)?
3.
44.
.