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

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

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

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