cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
707
Views
0
Helpful
1
Replies
TROY MELLON
Beginner

Baseline Template Query LMS 4.2

Trying to write a regex that will detect a string within a interface description line.  Anybody ever done this?

1 REPLY 1
smacdoug
Beginner

After much research and testing, I got this to work:

Submode interface [#.*Ethernet.*#]

+[#description.*string.*#]

substistute string with the word you're looking for

For some reason the only way this would work was by enclosing the entire thing in the square brackets.