Difficult to say without seeing the text you are looking in and, importantly, what you want to happen when there is/isn't a match.
But if each of your samples is a complete line of text it would easier to use an "If... any of the following..." and list your five matches, each as a "The text... is" condition. But if you want a regex (which would make the action shorter!) then "matches ^(License|License Type|License Status|Licensing Authority)$ will do the trick (and is easy to understand/maintain).
Hi @Nige_S and @ccstone, thanks for responding. My original post was a simplified version of the actual real case. But here is the actual use case.
There is an internal webpage that displays all License type fields. All the fields are displayed on the page but not all fields are used. Based on what fields/values being submitted will determine which License type will be created.
License Type 1 requires these fields:
License Type 2 requires these fields:
Drug Schedule Details
So, if I were to create License Type 1, I would like only those fields to be highlighted on the webpage. This is a visual guide to help me remember which fields I need to populate.
As for highlighting words/phrases on webpages, I use a Chrome extension HighLight This! - it automatically finds and highlights words and phrases on the web pages according to your predefined list. It also supports regular expressions.
Warning: This extension used to be really good. But recent updates have shown that it is redirecting traffic to some websites through affiliate links.
But since I cannot get the highlight working properly with RegEx, I resorted to this work around. I have a macro for each License Type that just "Clicks at found image, with Display checked" for all the required fields.