cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
820
Views
0
Helpful
1
Replies

Baseline Template Query LMS 4.2

TROY MELLON
Beginner
Beginner

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

1 Reply 1

smacdoug
Beginner
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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: