Hi community, I wrote the following Regex to match either hostname formats:
The hostname are dynamically created.
I've check the rule on Regex 101 and matches everything as expected, but when I go to Dynatrace and hit preview only matches example 1 and 4. What I'm doing wrong?
Thanks in advance.
Solved! Go to Solution.
Thanks, finally instead of doing one rule, I made one for 1 and 4 and other one for the 2,3. It's not what I wanted, but the field is limited to 80 chars, so If in a future I add more examples it would be easier to maintain.