Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
regex min length max length
tinysnails9
Programming language:
Javascript
2021-08-05 08:07:23
0
Q:
regex min length max length
Julia
Code:
Javascript
2021-06-22 05:30:22
// Validate
string
length /^.{
1
,
35
}$/.test(variable) //
min
-
1
,
max
-
35
2
Tags
"length
Related
how to limit input type max length
find max value in javascript
js maximum number value
how to find index of max number in js
New to Communities?
Join the community