I have multiple words which can have (or not) hyphen anywhere between them. How can I write a regex in java, which can match the word, irrespective of position of hyphen. Exmapl