Dear community,
I am not good with regex and I would love a help.
I would like to create a regex rule where I ignore some records:
([^\W].*[A-Za-z][-][0-9][0-9])\.ad\.example\.com
Basically I need to select any ad.example.com or *.ad.example.com EXCEPT host that start with LETTERS-\d{2}.ad.example.com.
This rule (.*[A-Za-z][-][0-9][0-9])\.ad\.example\.com can select what I would like to ignore. I have no idea about how to create a negative rule with regex.
I appreciate any help from you.