\\s+ this regular expression works when u want to skip one or more white spaces in the string
Consider you wanna store all the words in an array
u can write like this
String[] words = string.split("\\s+");
This will give all the words in the String, neglecting one or more white spaces in the string itself.