0

issue with angularjs ng-pattern special character & (ampersand)

angularjs ng-pattern="/^[-& A-Za-z'0-9#/]*$/". Input text filed should be able to take the special character &, but it is not. Input filed is being reported as invalid. Any reason why ng-pattern is not allowing & in angularjs.

couzzi
  • 6,316
  • 3
  • 24
  • 40
helloworld
  • 31
  • 4

0 Answers0