I have the following response text block and want to extract multiple "PATH sentto" fields and easily identify them. Help is appreciated.
Text block:
Ingress RSVP: 90 sessions
10.135.102.10
From: 10.135.102.14, LSPstate: Up, ActiveRoute: 0
LSPname: SJC2.PPE-TO-DCP1.PPE-1, LSPpath: Primary
LSPtype: Static Configured
Suggested label received: -, Suggested label sent: -
Recovery label received: -, Recovery label sent: 593689
Resv style: 1 SE, Label in: -, Label out: 593689
Time left: -, Since: Thu Jan 26 20:58:22 2012
Tspec: rate 0bps size 0bps peak Infbps m 20 M 9192
Port number: sender 6798 receiver 31012 protocol 0
Node/Link protection desired
Type: Node/Link protected LSP
PATH rcvfrom: localclient
Adspec: sent MTU 4500
Path MTU: received 4496
PATH sentto: 10.135.101.150 (ge-0/0/5.0) 23181 pkts
RESV rcvfrom: 10.135.101.150 (ge-0/0/5.0) 23156 pkts
Explct route: 10.135.101.150 10.135.101.154 10.135.102.118
Record route: <self> 10.135.101.150 10.135.101.154 10.135.102.118
10.135.102.10
From: 10.135.102.14, LSPstate: Up, ActiveRoute: 0
LSPname: SJC2.PPE-TO-DCP1.PPE-1, LSPpath: Secondary
LSPtype: Static Configured
Suggested label received: -, Suggested label sent: -
Recovery label received: -, Recovery label sent: 600789
Resv style: 1 SE, Label in: -, Label out: 600789
Time left: -, Since: Mon Feb 6 19:12:51 2012
Tspec: rate 173.658kbps size 173.658kbps peak Infbps m 20 M 9192
Port number: sender 6807 receiver 31012 protocol 0
Node/Link protection desired
Type: Node/Link protected LSP
PATH rcvfrom: localclient
Adspec: sent MTU 4496
Path MTU: received 4496
PATH sentto: 10.135.105.16 (ae0.0) 2168 pkts
RESV rcvfrom: 10.135.105.16 (ae0.0) 2172 pkts
Explct route: 10.135.105.16 10.135.101.148 10.135.96.35 10.135.101.152
Record route: <self> 10.135.102.9 (node-id) 10.135.105.16 10.135.101.148 10.135.96.35 10.135.101.152
Total 2 displayed, Up 2, Down 0
Egress RSVP: 94 sessions
Total 0 displayed, Up 0, Down 0
Transit RSVP: 545 sessions
Total 0 displayed, Up 0, Down 0