Case sensitive matching in rule possible?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Case sensitive matching in rule possible? Sat Aug 14, 2021 8:39 am • by webslash
Hi there,

I need to check the contents of a PDF-file for the existence of the word "Datum".
The problem is, that I don´t want to find it as part of another word e.g. "Geburtsdatum".
Is it somehow possible? I didn´t find out how.

Thanks in advance!
webslash
 
Posts: 5
Joined: Sat Aug 14, 2021 8:34 am

Re: Case sensitive matching in rule possible? Mon Aug 16, 2021 10:13 am • by Mr_Noodle
Will be be preceded by a space? If so, you can include a space in the pattern.
Mr_Noodle
Site Admin
 
Posts: 9717
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Case sensitive matching in rule possible? Mon Aug 16, 2021 10:15 am • by webslash
Thanks for your reply.
I forgot to mention that I tried that already.
There is no preceding space, so I need another solution.
webslash
 
Posts: 5
Joined: Sat Aug 14, 2021 8:34 am

Re: Case sensitive matching in rule possible? Mon Aug 16, 2021 10:19 am • by Mr_Noodle
In that case, you may need to use a script.
Mr_Noodle
Site Admin
 
Posts: 9717
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Case sensitive matching in rule possible? Mon Aug 16, 2021 10:26 am • by webslash
I tried that already unsuccessfully but I never programmed a script.
Is there someone who can help with an example?
webslash
 
Posts: 5
Joined: Sat Aug 14, 2021 8:34 am

Re: Case sensitive matching in rule possible? Mon Aug 16, 2021 10:29 am • by webslash
Is it possible to offer this function in an update in the future?
Sounds like a gainful feature.
webslash
 
Posts: 5
Joined: Sat Aug 14, 2021 8:34 am

Possibly though probably not a high priority.
Mr_Noodle
Site Admin
 
Posts: 9717
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

webslash wrote:I tried that already unsuccessfully but I never programmed a script.
Is there someone who can help with an example?


OK, is there a little tutorial how to achieve my goal with a little script?
webslash
 
Posts: 5
Joined: Sat Aug 14, 2021 8:34 am

Re: Case sensitive matching in rule possible? Wed Aug 18, 2021 10:19 am • by Mr_Noodle
That's a bit outside the support I can give. Search the forums on how to extract text from a PDF (there are commandline programs out there that can do that). You can use that plus the 'grep' command in a shellscript.
Mr_Noodle
Site Admin
 
Posts: 9717
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support