I have tried to follow this other forum but am running into issues.RegExr: Learn, Build, & Test RegEx that many recommend on here I can get the expression built correctly. However NCM isn't working.
I am trying to start out with something simple. Check the below access list and ensure only the entries listed are in the access list and nothing else. Using the website
Access List
ip access-list standard XXX
permit 10.0.0.0 0.31.255.255
permit 192.168.0.0 0.0.255.255
permit 172.16.0.0 0.15.255.255
deny any log
Regular Expression
^\s?ip access\-list standard XXX\n^\s?permit 10.0.0.0 0.31.255.255\n^\s?permit 192.168.0.0 0.0.255.255\n^\s?permit 172.16.0.0 0.15.255.255\n^deny any log[\r\n]*$