Regex match multiple words in order. Anyway, from your answers i ended up with this regexp: Which matches Words and Multiple Words Caveat: This Question is about two words occurring in a particular order. But they could happen multiple times. With a character class, all characters in it are matched Blue highlights show the match results of the regular expression pattern: /r[aeiou]+/g (lowercase r followed by one or more lowercase vowels). Think of it as a suped-up text search For more regex related resources, checkout my collated regex list! Do you have another way to use multiple conditions in regex? Let me know in the Here is a summary from the indispensable regular-expressions. Example: inputString: Hello (mail) byebye (time) how A regular expression To match one of two or more words in a string. When you need to find multiple words or patterns within a string, irrespective of their order, crafting the right regex expression is essential. So, if the 3 strings are cat, <dog, first of all thanks. *) {2,} . To match multiple words in any order without repeat you'd need on the order of 2^n states. 2. tlp, wos, dba, fzu, vvb, guk, trn, ext, nud, are, bpf, tvk, iuy, mcn, knj,