I'm trying to discover network interfaces on a router. I'm trying to find any interfaces that contain 'wan' but exclude 'bridge' or VLAN in the name regardless of case and order. I have been able to build the regex as seen here: https://regex101.com/r/CR5o6y/1/ but when I try and put this in zabbix it doesn't match anything. In the regular expression field I have used the following:-
/^(?=.*wan)(?!.*(vlan|bridge)).*$/gmi
Any ideas?
Thanks
/^(?=.*wan)(?!.*(vlan|bridge)).*$/gmi
Any ideas?
Thanks