I have defined custom redact pattern in my SearchRedactPatterns.xml as following :
BEGIN CONFIDENTIAL((.|\n)*)END CONFIDENTIAL
The idea is to mark for redaction all content between the words BEGIN and END.
I have the "BEGIN CONFIDENTIAL blablabla END CONFIDENTIAL" sequences a multiple of times in my document, and they can go over multiple pages.
My issue is that only the sections with the "BEGIN CONFIDENTIAL blablabla END CONFIDENTIAL" on the same page are marked. All sections that go over 2 (or more) pages are not marked.
Is there a workaround that could be managed through the regular expression ?