String Manipulation for PDF

Can anyone tell me how to do string manipulation for this.
PDFContentInMessageBox

I want
Arun sundaram,
Mail id,
Phone Number,
Invoice Number: 101,
Invoice Date:February,27,2019
Payment Due:February 28,2019
Items: Report Generation Software
Total:2,02,000
MicroGenensis
India

Use regex to get the values. IsMatch and Matches activities.

Can you give one example for that?

Below are the regex patterns for some of the values you are trying to retrieve
To retrieve ARUN SUNDARAM, use (?<=BILL TO: ).*?(?= \d+)
To retrieve mail id, use (\w+@\w+.\w+)
Phone number, use \d{10}
Invoice Number, use (?<=INVOICE NUMBER: )\d+

Below are the references to know about IsMatch and Matches activities-


Hope this is helpful!

3 Likes

Thank You. Its working.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.