Hi, does anyone know how to extract text from a txt file? After I used the PDF extract field I wanted to get the specific text from txt file. I didn't used the OCR capture area since the value region is not fixed. So I wanted to get the amount after the Net Receivables text.
Hi, does anyone know how to extract text from a txt file?
Hi
You can you get text from txt file under package → Text file
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/60355dbd-8796-459e-a1bb-c525063c5aba.png)
After that you can use action Extract text under package → String package.
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/2320feae-2b72-47a6-9e77-1427e5556467.png)
In that you can use Start after and set as → Net Receivables and your desired data will be extracted.
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/e91e3949-0cba-4c18-b721-0aa7378f970f.png)
Let me know whether the solution worked or not.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.