regex - Regular expression for at least 10 characters -
i need regular expression checks string @ least 10 characters long. not matter character are.
thanks
you can use:
.{10,}
since .
not match newline default you'll have use suitable modifier( if supported regex engine) make .
match newline. example in perl can use s
modifier.
alternatively can use [\s\s]
or [\d\d]
or [\w\w]
in place of .
Comments
Post a Comment