Using regular expression text box should accept 1 or 2 or 3 or 4 or 5 Max digits numbers only restrict decimal part
<p>I need to validate the text box at server side by using regular exp which should accept 1 or 2 or 3 or 4 or 5 digits numbers .Need to restrict decimal part.</p>

<p>Ex: 1 or 23 or 455 or 5643 or 45667 --Should accept.</p>

<p>1.3, .2, 33.3 , 444.55 ,5555.99 -- should not accept.</p>

<p>Thanks in advance</p>
