Thank u for info and also i need to assign extracted data as per Room no.
ex: if it is Room 1
i want to display that particular guest name, hotel ref, nights.
Thank you. but if Room count is not same for all files. they are dynamic.
ex: For data given there are Rooms 3
For other files Rooms count some other digit
Room 1:
Guest: MISS Sutio Robre Queen Rate Breakdown: Double Room Ensuite for Single Occupancy
Nights: 1 ﴾Dep: 21/01/2022﴿ PER NIGHT STARTING 26 Dec FOR 1 NIGHT GBP89.00
GCINumber: 37463746 SUB TOTAL FOR STAY GBP89.00
ReasonforTravel: TRAINING|CONFERENCE APPROX TOTAL INCL ALL KNOWN TAXES/FEES GBP89.00
Company Name: ASE Technologies Equal Forma Ltd. Meal Plan: Room and full breakfast
Hotel Ref: 56788SD034589
Commission: 4.00% Std
Room 2:
Guest: MR Aderta Brewq Rate Breakdown: Double Room Ensuite for Single Occupancy
Nights: 2 ﴾Dep: 12/04/2022﴿ PER NIGHT STARTING 26 DEC FOR 1 NIGHT GBP89.00
GCINumber: 37463746 SUB TOTAL FOR STAY GBP89.00
ReasonforTravel: TRAINING|CONFERENCE APPROX TOTAL INCL ALL KNOWN TAXES/FEES GBP89.00
Company Name: ASE Technologies Equal Forma Ltd. Meal Plan: Room and full breakfast
Hotel Ref: 56788SD034580
Commission: 4.00% Std
Room 3:
Guest: Allyppe Brode Rate Breakdown: Double Room Ensuite for Single Occupancy
Nights: 1 ﴾Dep: 21/01/2022﴿ PER NIGHT STARTING 26 APR FOR 1 NIGHT GBP89.00
GCINumber: 37463745 SUB TOTAL FOR STAY GBP89.00
ReasonforTravel: TRAINING|CONFERENCE APPROX TOTAL INCL ALL KNOWN TAXES/FEES GBP89.00
Company Name: ASE Technologies Equal Forma Ltd. Meal Plan: Room and full breakfast
Hotel Ref: 56788SD034581
Commission: 4.00% Std
Room 4:
Guest: MR Akalidio Malyal Rate Breakdown: Double Room Ensuite for Single Occupancy
Nights: 1 ﴾Dep: 21/01/2022﴿ PER NIGHT STARTING 26 APR FOR 1 NIGHT GBP89.00
GCINumber: 37463746 SUB TOTAL FOR STAY GBP89.00
ReasonforTravel: TRAINING|CONFERENCE APPROX TOTAL INCL ALL KNOWN TAXES/FEES GBP89.00
Company Name: ASE Technologies Equal Forma Ltd. Meal Plan: Room and full breakfast
Hotel Ref: 56788SR034582
Commission: 4.00% Std
Room 5:
Guest: MR Deio Kook Rate Breakdown: Double Room Ensuite for Single Occupancy
Nights: 1 ﴾Dep: 21/01/2022﴿ PER NIGHT STARTING 26 APR FOR 1 NIGHT GBP89.00
GCINumber: 37463747 SUB TOTAL FOR STAY GBP89.00
ReasonforTravel: TRAINING|CONFERENCE APPROX TOTAL INCL ALL KNOWN TAXES/FEES GBP89.00
Company Name: ASE Technologies Equal Forma Ltd. Meal Plan: Room and full breakfast
Hotel Ref: 56788D034588
Commission: 4.00% Std
After Reading PDF text the is displaying in this format. From here i need to extract Guest Name, Hotel ref, Nights, Rate break down, Meal plan and TaxS/FEES. Moreover, For each pdf Room count is varied.
Pls provide solution.Tq
Hi @ushu, your code working for all pdf files.Tq very much for your work. Moreover, I need put all the data in variables after iterating data like Room, guest name etc. Here it is not working if i take currentitem(0).tostring, currentitem(1).tostring etc. Pls help in this.Tq
Hi @ushu, your code working for all pdf files.Tq very much for your work. Moreover, I need put all the data in variables after iterating data like Room, guest name etc. Here it is not working if i take currentitem(0).tostring, currentitem(1).tostring etc. Pls help in this.Tq
This is the error showing