Find and copy words from pdf file

pdf
activities

#1

Hello everyone,

I would like to know how to find words in pdf file and store them as variable?

Thanks
Leonardo


#2

Hi @leonardoancora

When you use Read PDF Text activity, the output is a string variable. Then you can use regex to search for particular words in that string.
Here is an example from @vvaidya to search email in a string using regex:
https://regex101.com/r/PLSUHj/3
Pass the regex expression in Matches activity and the output would be a collection of the matches it finds.


#3

I think your question may be how to copy and paste from PDF Files . You may learn the methord from : How to Fix “Can’t Copy and Paste Text from PDF Files?.
:grinning: