Sublime Forum

Regex to capture everything in between

#1

my regex is (?<=vlan1)(?s)(.*$) and it captured everything after vlan1. I just wanted to capture all the interfaces only. Can someone help me change the regex above to capture only interfaces after vlan1 and before 100 vlan mgmt line? thanks
60 vlan1
fa0/1, fa0/2, fa0,3
fa0/4, fa05

100 vlan_mgmt

0 Likes