I am extracting pdf data to text file and from text file i want to extract number 50100229788309 so i have used regex but unable to find the index of list from the text file
Can anyone help me with this?
Below are the screenshots
Hi @Seema_Jethe
Try removing the ^ and $ , it denotes start and end of string but the number is present inbetween the string.
Thanks
try this
(?<=Aeta ).\d[0-9]*\d.(?=Bme)
Regards,
NaNi
@THIRU_NANI I am extracting cheque data to text file and if cheque contains many numbers along with account number then text file will also contain many numbers then in such a case what should be my regular expression to extract only the account number from text file? can u please help me with this issue? below are the screenshots
Hi! @Seema_Jethe
In this Expression this will extract the data which is between the Aeta and Bme.
it wont extract the account number. and also i have included the number twice but it wont detect the number because it is not between the Aeta and Bme
Regards,
NaNi
@THIRU_NANI but every time Aeta and Bme will not be present in the text file as i am using cheques of different banks Is there any other way using regex?
Hi @Seema_Jethe
Which number should you like to extract using regex? That number is 50100229788309 Correct. It contains only 14 Digit always
Can you share the PDF file of the cheque