How would I append this Config block start: (^interface (Fast|Gigabit|TwoGigabit|FiveGigabit||TenGigabit|TwentyFive|FortyGigabit)Ethernet.*\r\n) to also search for Fa and Po ports?
What is the difference between Fa and FastEthernet? I just added some additional pipes and the last two per your request.
(^interface ((Fast|Gigabit|TwoGigabit|FiveGigabit||TenGigabit|TwentyFive|FortyGigabit)Ethernet|Po|Fa).*\r\n)
Should have been more specific, I was referring to the Fa0 (Management Interface).
Also, appreciate the response, I'm piggy backing off of some else's work and trying to learn on the fly.