Skip to main content
Question

I want to know how i can extract a text from pdf file?


  • Cadet | Tier 2
  • 6 replies

I can extract all data to txt file, but i need just a two-three words in pdf file. Each pdf file words can be changed but the location of word will not change. in attached file, ı just need green area. There is privacy that's why i painted it.

 

2 replies

Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • 2693 replies
  • January 1, 2022

Hi @rojda dilan küpeli​ ,

 

Have you tried "PDF: Extract field" command? Using this you can fetch the required fields.

 

Extracts field from a PDF file and assigns it to a string variable

 

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/cloud-extracting-field.html/p>


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3275 replies
  • January 1, 2022

Hi @rojda dilan küpeli​ ,

 

The page looks Form, so you can use the https://automationanywhere4.blogspot.com/2021/06/FormFieldExtraction.html/p>

 

or

 

Once you get details from PDF using PDF: Extract Text, you can string manipulation to get the required string.

 

I believe the yellow highlighted words are standard, In this case, use Before After action from the string package to get the string.

image 

 

Thanks!

 

 

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings