I have already found similar question but unfortunately it does not fit to my requirements -> regular expression for anything but an empty string
Question: Is this possible to match with Regex anything or nothing but not string which contains only whitespaces?
String s1 = ""; // -> true
String s2 = "test"; // -> true
String s3 = " test"; // -> true
String s5 = " "; // -> false
String s6 = " "; // -> false