beard245

REG-EX help

Discussion created by beard245 on Sep 15, 2014
Latest reply on Sep 16, 2014 by anders.synstad

Any help on the following regular expression would be much appreciated. It was working until about a month ago.

 

Trying to match: (just listed one interface but you can see the additional matches that are required)

 

Interface-Down IF-198.151.49.30/391 [Se0/1/3:23] [187]

 

My regex:

/.*Interface-Down\sIF-*.*.*.*./%d[Se][0-9]|.*Interface-Down\sIF-*.*.*.*./%d[T][0-9]|.*Interface-Down\sIF-*.*.*.*./%d[Hs][0-9]|.*Interface-Down\sIF-*.*.*.*./%d[ATM][0-9]|.*Interface-Down\sIF-*.*.*.*./%d[E][0-9]*/

 

 

Thank you

Outcomes