regular expression that extracts words from a string <p>I want to extract all words from a java String.</p> <p>word can be written in any european language, and does not contain spaces, only alpha symbols.</p> <p>it can contain hyphens though.</p>