title: To find interfaces
body: <p>I am not good at RegEx. I need help with identifying the first word of the line which starts with word Fast/Giga. RegEx I tried <code>"^\s*(?=Fast|Giga).\w+"</code>, but it's not adding from '/', need full name like "<code>GigabitEthernet2/47</code>" which matches the "up" and "down" separately.</p>
  
  <pre><code>GigabitEthernet2/47 (this should belong to up)
  GigabitEthernet2/48 (this should belong to down)
  FastEthernet3/1 (this should belong to down)
  FastEthernet3/2 (this should belong to down)
  FastEthernet3/3 (this should belong to down)
  </code></pre>
  
  <p>And also need RegEx for this line alone</p>
  
  <pre><code>"Last input 00:00:09, output 00:00:00, output hang never"
  </code></pre>
  
  <p>Need three RegEx for input, output, and output hang. Whichever the thing
  next to (input, output, and output hang) should display only that.</p>
  
  <pre><code>00:00:09 (this should belong to input)
  00:00:00 (this should belong to output)
  never    (this should belong to output hang)
  
  interface GigabitEthernet6/48
   description ***connected to Panel***
   switchport access vlan 10
   switchport mode access
   spanning-tree portfast
  !
  interface GigabitEthernet7/1
  !
  GigabitEthernet2/47 is up, line protocol is down (notconnect)
    Hardware is Gigabit Ethernet Port, address is 0023.0460.5a4e (bia 0023.0460.5a4e)
    Last input 00:00:09, output 00:00:00, output hang never
  GigabitEthernet2/48 is down, line protocol is down (notconnect)
    Hardware is Gigabit Ethernet Port, address is 0023.0460.5a4f (bia 0023.0460.5a4f)
    Last input 42w6d, output 42w6d, output hang never
  FastEthernet3/1 is down, line protocol is down (notconnect)
    Hardware is Fast Ethernet Port, address is 0022.906f.4040 (bia 0022.906f.4040)
     Last input 00:00:58, output 00:00:00, output hang never
  FastEthernet3/2 is down, line protocol is down (notconnect)
    Hardware is Fast Ethernet Port, address is 0022.906f.4041 (bia 0022.906f.4041)
    Last input never, output never, output hang never
  FastEthernet3/3 is administratively down, line protocol is down (disabled)
    Hardware is Fast Ethernet Port, address is 0022.906f.4042 (bia 0022.906f.4042)
    Last input never, output never, output hang never
  TenGigabitEthernet4/6 is down, line protocol is down (inactive)
    Hardware is Ten Gigabit Ethernet Port, address is 843d.c632.a74d (bia 843d.c632.a74d)
    Last input never, output never, output hang never
  </code></pre>