1. May be it is not what you want, but Int32.Parse(yourstring)<250 and
Int32.Parse(yourstring)>1 would do the job :)
2. Your regex : ([2][0-5][0-9])|([1]{0,1}[0-9]{1,2})
"Roshawn Dawson" <ud****@bellsouth.net> schrieb im Newsbeitrag
news:OI****************@TK2MSFTNGP10.phx.gbl...
Hi,
I'm trying to write a regular expression that simply tests if a number is
between 1 and 250.
Can anyone help this regex newbie?
Thanks,
Roshawn