I get random Strings as input and all I want is to get the ENGLISH words for keyword search app apart from the punctuation marks (see punctuation) or word dividers ( say, white space, multi-white spaces ). This issue is that I won't know the basis for spiting the Strings. For example, if I get a String "FLORENCE - FIRE/TOMORROW", I would like to get String array as {"FLORENCE", "FIRE", "TOMORROW" }. Besides, sometimes it also happen that a single word will come, say, "MELBOURNE" and just need to get the array as {"MELBOURNE"}. Capital letters has nothing to do with the question.
How can I do this ?