Java Check If String Only Contains Whitespace In Regex