Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex pater for only 4 or 6 digits

^([0-9]{4}|[0-9]{6})$
 
PREVIOUS NEXT
Tagged: #regex #pater #digits
ADD COMMENT
Topic
Name
5+1 =