Page 1 of 1
Case sensitive matching in rule possible?

Posted:
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!
Re: Case sensitive matching in rule possible?

Posted:
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.
Re: Case sensitive matching in rule possible?

Posted:
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.
Re: Case sensitive matching in rule possible?

Posted:
Mon Aug 16, 2021 10:19 am
by Mr_Noodle
In that case, you may need to use a script.
Re: Case sensitive matching in rule possible?

Posted:
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?
Re: Case sensitive matching in rule possible?

Posted:
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.
Re: Case sensitive matching in rule possible?

Posted:
Tue Aug 17, 2021 9:12 am
by Mr_Noodle
Possibly though probably not a high priority.
Re: Case sensitive matching in rule possible?

Posted:
Tue Aug 17, 2021 9:48 am
by webslash
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?
Re: Case sensitive matching in rule possible?

Posted:
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.