I mean like this
" T" It’s no 3 Character
"T T" It’s no 3 Character
" T " It isn.
"TTT" It’s true
" TTT" is true
" TT T" is true
how to check that with regex
i’m trying "^[\s]{3,100}$" but it does’nt work
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m assuming you want to test for at least three non-whitespace characters. In which case this pattern should work.
^\s*(\S\s*){3,100}$What isn’t clear from your question is if white space is allowed or if the match should fail if any white space is present.