Hi,
I have 500 PDFS, from the PDFS i need to extract the particular keyword, and if that keyword is found need to extract it, If not found it has to throw an Error.
Please suggest the procedure and list of activities used.
Thanks in Advance!!
Hi,
I have 500 PDFS, from the PDFS i need to extract the particular keyword, and if that keyword is found need to extract it, If not found it has to throw an Error.
Please suggest the procedure and list of activities used.
Thanks in Advance!!
Hi @Harsha_S1
An i missing something…with keyword you want to extract something else or the keyword only? Or you just need to check for keyword?
If to check use read pdf file …then you will get string… use str.contains(“stringyou want”) and it will give true or false
Cheers
Hi Anil,
Based on ur reply, I would like to elaborate more on my question.
I have 500 Pdfs, From that 500 pdfs I need to extract the pdfs containing the word “MarketValue”.
Please clarify.
Regards,
Harsha.
Hi @Harsha_S1
First used a for each file in folder where your 500 pdf’s are then…
Inside use a read pdf file with(item.fullname gives the filepath) to read into a string(str)
Then use if condition to check your string str.contains(“MarketValue”) on true side do not do anything and on false side delete the file
Cheers
Thanks, Anil for clarifying.
Hi @Harsha_S1
Please try and if it works mark the solution so that it helps others to get to solution,else happy to help
Cheers