How do I make quantifier only match if at least 2 of the grouped words are found?
I need this to match:
((?i:\bjack\b)|(?i:\bjill\b)|(?i:\bjohn\b)){2,}
And I need this to not match:
Match if >= 2 of the words are found, in any order and case
How do I go about doing that? After a few hrs I'm tired of reading regex. Thanks!