jeudi 3 juin 2021

how to extract data in paragraph using regex

Customer Reference N139211508474572 Entry Date 05/19/2021 Extra Information NEFT IN UTR FROM S S DISTRIBUTOR N139211508474 572TXN REF NO 23621001323

How can I extract the vender company name like S S DISTRIBUTOR, In this FROM is constant in multiple data I have, I did the regex code to extract customer reference number(?<=Customer Reference ).+(?= Entry Date) like this it's working, and give me a code to extract the vender company name.

The customer reference number is not constant it will have mixed numbers and alphabets or only numbers.

Aucun commentaire:

Enregistrer un commentaire