Hello,
I need help extracting and reformatting some text.
This is the raw text:
Return to the top of your schedule.
Pairing ID: C8253 Start Date: 20060131
Date Flight Aircraft DH:Locator:Fare Orig Dest Dep Time Arr Time OA A/C Blk Cdt Dty
0131 4215 N308TZ MDW DFW 12:42 14:55 308 02:13 02:24
0131 4208 N308TZ DFW MDW 15:58 18:01 308 02:03 02:09
Duty Info R11:43 E18:24 Duty 04:16 04:33 06:33
Sked/Act Credit 05:00/ 05:00
Return to the top of your schedule.
Pairing ID: C8215 Start Date: 20060201
Date Flight Aircraft DH:Locator:Fare Orig Dest Dep Time Arr Time OA A/C Blk Cdt Dty
0201 4216 N314TZ MDW LGA 16:04 19:14 314 02:10 02:10
Duty Info L10:35 R15:05 E19:25 Duty 02:10 02:10 03:24
0202 4225 N304TZ LGA MDW 07:03 08:34 304 02:31 02:31
Duty Info R06:00 E08:35 Duty 02:31 02:31 03:49
Sked/Act Credit 10:00/ 10:00
Return to the top of your schedule.
Pairing ID: C8285A Start Date: 20060207
Date Flight Aircraft DH:Locator:Fare Orig Dest Dep Time Arr Time OA A/C Blk Cdt Dty
0207 7003 N332TZ MDW IND 22:48 00:33 332 00:45 00:55
Duty Info L13:11 R22:04 E01:44 Duty 00:45 00:55 01:44
0208 2779 S:FF/SELF:$91.29 IND MDW 15:55 15:45 WN 00:00 00:25
Duty Info R14:55 E16:00 Duty 00:00 01:00 02:05
Sked/Act Credit 10:00/ 10:00
Return to the top of your schedule.
Pairing ID: C8008 Start Date: 20060210
Date Flight Aircraft DH:Locator:Fare Orig Dest Dep Time Arr Time OA A/C Blk Cdt Dty
0210 4592 N323TZ MDW RSW 07:10 11:03 323 02:53 02:53
0210 4601 N323TZ RSW MDW 11:56 13:47 323 02:51 02:51
0210 4206 N308TZ MDW LGA 17:19 20:21 308 02:02 02:02
Duty Info L10:22 R06:10 E20:37 Duty 07:46 07:46 13:26
0211 4217 N308TZ LGA MDW 07:50 09:05 308 02:15 02:16
Duty Info R06:59 E09:30 Duty 02:15 02:16 03:21
Sked/Act Credit 10:00/ 10:02
Return to the top of your schedule.
Pairing ID: C8022 Start Date: 20060220
Date Flight Aircraft DH:Locator:Fare Orig Dest Dep Time Arr Time OA A/C Blk Cdt Dty
0220 4089 N310TZ MDW GDL 09:28 14:13 310 04:45 04:45
0220 4088 N310TZ GDL MDW 15:00 18:27 310 03:27 03:49
Duty Info R08:10 E18:49 Duty 08:12 08:34 10:47
Sked/Act Credit 07:59/ 08:34
Out of that mess I need each flight extracted and formatted as follows:
Flight Date (mm/dd/yyyy), Flight #, Dep. City, Dep. Time, Arr. City, Arr. Time.
example from first row:
01/31/2006 4215 MDW 1242 DFW 1455 |