Extraction From text file


#1

If there is a text file and it is required to extract data which is bolded. how can we extract that
input String: “Instructions:
Line # Buyer Item # UPC #/EAN # Supplier Stock # Color Size
Qty
Ordered UOM Cost Pack/Inner
Extended
Cost
001 608282 890712200267 8907122002672 720 EA 153.8135 144/1 110745.75
002 729088 890600845821 890600845821 144 EA 195.7628 72/1 28189.84
Total Cubic Feet: n/a
Total Weight: n/a Currency: INR
2 Total Units ordered:
Supplier Number: 063092610
SUNSCREEN , SPF 25 150ML
SUNSCREEN LOTION , NOURISHNG SPF40 100G
Total Line Items: 864
Total Order Amount
(Supplier Name: ABC
Bill To: Event: MANUAL
ZIRAKHUPUR, PB, 99999, IN Cancel Date: 16-Apr-18
Ship To: Purchase Order Number: 68501921
Purchase Order Date: 2-Apr-18”
Output String: Description 1: SUNSCREEN , SPF 25 150ML
Description 2: SUNSCREEN LOTION , NOURISHNG SPF40 100G
String 1:001 String 2:608282 String 3: 890712200267 String 4: 8907122002672 string 5: 720 String 6: EA String 7:153.8135 string 8:144/1 string 9: 110745.75
and similarly other line.