Page 1 of 1

Strip provider name from PDF

PostPosted: Fri Aug 30, 2013 3:11 pm
by ssmith001
I am attempting to create a rule that will rename the file based on some content of the PDF, in this case, the name of the medical provider. All the documents will contain the text of "Provider:" followed by the name of the provider, which in my test case, is Mayo Clinic Rochester.

My question is this, how can I create a custom token that will grab the provider's name from the PDF, without hardcoding the fact that it has 3 words. What I mean by that is that another document might have a provider of "Lakeview Clinic".

Re: Strip provider name from PDF

PostPosted: Thu Sep 05, 2013 12:20 pm
by Mr_Noodle
Is there a newline/linebreak/carriage return after the name? If so, you can try using "anything" to match that. It will grab all the text up until a newline.