Dear All,
I am actually trying to extract data from a pdf bank statement to move into a excel sheet. I used “Read PDF Text” activity and “Write Text” activity to extract text into a text file.
Now the output is like:
BRANCH NAME
XXXXXXXXX Branch City
A/C TYPE A/C NUMBER
XXXXX XXXXX XXXXXXX Demand Deposits X-X-XX-XXXXX-XXX-XXXXX
HOUSE#X-XXX XXXXX-4-X XXXXXXXX XXXXX XXXXX
IQBAL, Karachi, Pakistan XX97XXXX0123456789012345
CURRENCY FROM TO PRINTED ON
PKR 01-Apr-2020 30-Apr-2020 07-May-2020
Date Particulars Debit Credit Balance
Opening Balance 00,500.00
07-Apr-2020 ATM Withdrawal FROM 060137, Apr 7 2020 1:07PM 00,000.00 00,500.00
#1269297
07-Apr-2020 ATM Withdrawal FROM 060137, Apr 7 2020 1:08PM 58,000.00 28,536.00
#1269297
07-Apr-2020 Web Fund Transfer to Bank (SCB), Acc: XXXXX 0,500.00 28,036.00
XXXX XXXXX (XXXXXXXXXXXXX),DT:Apr 7 2020 ,003621
07-Apr-2020 Web Fund Transfer to Bank (XXXXXXXX), Acc: XXXXX 0,500.00 00,500.00
XXXX XXXX (XXXXXXXXXXXX),DT:Apr 7 2020 ,003033
EFT Rec from Bank (XXXXX) Account
07-Apr-2020 (XXXXXXXXXXXXX),Sender (- 00,000.00 00,500.00
),DT:0407,123204Remitter msg :Miscellane
Now I need to extract the credit and debit transaction details into an excel sheet into different columns and rows. Since I am very new to regex and have tried creating patterns on https://regexr.com/ but no luck so far. Any help would be highly appreciated.
Thank you
Ather