Please tell me which pattern I need to use if field must not contain only spaces.
Why need to use regex?
str.trim().isEmpty()
2.1m questions
2.1m answers
60 comments
57.0k users