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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -