javascript - Angularjs - More than 10 digit regex validation -


how accept more 10 digit regex using ng-pattern in angularjs? example 1 12.

/^(1[0-2]|[1-9])$/

you might not need ^ , $ in ng-pattern


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -