Possible Duplicate:
How do I split a string with any whitespace chars as delimiters?
Yes, I tried to search it on google and stackoverflow, but no good results. I have a string, lets say: "Lets do some coding in Java" and I would like to got strings (split it on whitespaces):
Lets, do, some, coding, in, Java
I used string.split("\\s")
for this, but know I need to use regex instead. Any ideas?