I want to search for a description string that has a keyword. Examples are the current output.
description xxxx
policy-group APPS
description yyyy
policy-group APPS
description zzzz
policy-group APPS_1
If I want to search only the description that has policy-group APPS, how do I do it? Notice that the policy group is coming on the second line after the description, and I think the first search will be missed. How can we prevent that?
Thanks
A solution and the most accessible reg expression.