This regex uses an alternation group (a non‐capturing group with (?: ... )) to list each valid target item exactly as given, with each special regex character escaped where needed. The anchors ^ and $ ensure that only a full match to one of the tokens is accepted, so no extraneous text will be matched. Each alternative is a literal string matching exactly one of the provided targets.