Extract name from content

Hi all
I'm struggling with finding a script that would accomplish this miracle :
I have a bunch of PDF files that content some informations, and I would love a method to set the name of those files with one line inside it.
By example : file name = 01005741.pdf
In that file there is the line : Product : 7.92505
The final step will be the name = 7.92505_Kosher.pdf

The "_Kosher" part will be the same for all files.

Thank you in advance. Greetings !
Reply to #1:
Up
Any help ?
Reply to #2:
You could do this easily with a text file, using a script to reading lines from the file using the <File Line> tag [called by app.parseTags()].

Unfortunately, a pdf file is unlikely to contain plain text.