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

ruby - re-try logic in a simple loop -

ruby - Accessing variable name -

c# - Error in creating twitterizer app in asp.net -