I can't figure out how to write regex that matches these:
everyone hihi everyonehi
But not this:
everyone hi everyone
The regex (?:everyone )?hi(?: everyone)? will match the latter as well (which is not what I want). How to make such a regex? Or is it just not possible? I couldn't do enough research because I couldn't express the problem in correct words. Sorry if I posted a duplicate