-2

I have number input text box.It has 2 digit precision value. My requirement is that it should accept only 15 digit number along with precision.I have tried with several regular expression but haven't worked. Could you please suggest regular expression or pattern for it.

1 Answers1

1

You can use this regex: \d{1,15}

Ihor Dobrovolskyi
  • 1,241
  • 9
  • 19