0

Here is my ng-pattern= "/^[0-9]+(.[0-9][0-9])?$/i" which will allow only any digits and decimal followed by 2 digits, but I want it to match empty string too.

How can I do it?

Wiktor Stribiżew
  • 607,720
  • 39
  • 448
  • 563
Deeksha
  • 21
  • 3

0 Answers0