Have you tried editing the SearchRedactPatterns.xml file, using the existing entries as a guide? What patterns would you like to add?
I have found the file named SearchRedactPatterns.xml (thank you) and I just started trying to make sense the code defining text pattern. (I also need to get rights to modify this file - it's locked.)
I want to add a pattern that fits a pair of numbers (latitude and longitude). The pattern is always a pair, comma and space separate the pair, second number preceeded by negative sign. There are two digits before the decimal point. The number of digits after the decimal points will change - so I guess I define more than one pattern - but even with a single, new pattern fitting the example below, I would have saved myself work and saved myself time.
I haven't tried adding a new pattern yet, but it looks like you should be able to just create a single regular expression for that pattern. If you need more help, and I try it later today.
I found a website that explains text searches usin regular expressions (RegEx) -
Looks like the RegEx code at this "info" website is similar to the text pattern code in the Adobe xml file (SearchRedactPatterns.xml).
I need to match and redact a Lat. and Long. coordinate pair such as:
36.63, -82.551 (fixed length)
36.6nnn, -82.5nnnnn (variable length)
I want to try my code (untested code - don't know if it is correct), first matching a fixed length pair, second matching variable-length :
That second one should be:
Go ahead and try it out.
Edit: fixed mistake