I created a regex that uses a non-capturing group with alternation for each of the target items. I carefully escaped special characters (such as dots, slashes, pluses, question marks, parentheses, etc.) as needed. The regex starts and ends with anchors (^) and ($) to ensure that it matches exactly one of the target items and nothing else in the text. This pattern is a valid JavaScript regex pattern without extra leading/trailing / or flags.