Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex min length max length

// Validate string length
/^.{1,35}$/.test(variable) // min - 1, max - 35
 
PREVIOUS NEXT
Tagged: #regex #min #length #max #length
ADD COMMENT
Topic
Name
2+7 =