Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

Network Change & Configuration Management

Accepted Solution

Is there a guide for using RegEx config searches?

Posts: 61
3868     0

Is there a published guide on using the regex functionality in Config Searches?  Help only says you can use regex, but doesn't detail what is actually supported.


I need to search for a line within a block of code and none regex variations i've tried bring anything back. do the 'm' and 's' flags work for multi-line searching?



Re: Is there a guide for using RegEx config searches?

Posts: 416
3869     0

Here is an example Smiley Wink


I'm not sure it those options are allow


^line vty \d+ \d+\n(?:\s[^\n]+\n)*(?:\sexec-timeout \d+ \d+\n)/m<



Looking at VTY settings to see if exec-timeout is in the config




Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh
Showing results for 
Search instead for 
Do you mean 

Recommended for You