regex - regular expression minimum word count -


what regex should use minimum word count? dating website user has describe himself in minimum 50 words. can allow punctuation characters, new lines, question marks, numbers , user types in long has on 50 words.

i have (\b[a-za-z0-9 '-_]+\b.*){50,} not let new line characters

thanks

if it's website so, don't need regex. though not tagged , suppose you'll find helpful. can is

var elem = document.getelementbyid("id of text input element here"); if(elem.value.split(" ").length < 50) {    alert("minimum 50 words please!!"); } 

Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -