As a Redax user, you probably know that it includes a variety of built in patterns to find and mark text for redaction. Standard patterns include Social Security numbers, different date formats, telephone numbers, e-mail addresses and more. To see all the available patterns, just go to the Redax menu and select Find Using Pattern. You can choose from a list of 23 patterns.
To find all Social Security numbers in a document, select Find Using Pattern then select Social Security Number from the list of inactive Pattern Groups, then click the center arrow to have it appear in the list of Active Pattern Groups. Move as many patterns as you wish to use into the Active Patterns Groups list. When you click OK, Redax will find the patterned information you specified in the list. With regard to SSNs, the pattern found will be 9 digit numbers in typical SSN formats (123456789, XXX-XX-XXXX, etc.)
See also: Marking text that matches a pattern
If you need a different pattern search than those provided, you can write a custom pattern as a Regular Expression.
For example, Redax includes a pattern for finding dates such as March 15, 1976, but what if you wanted to find all years? You could use the Regular Expression:
This means the number 19 followed by a digit from 0 to 9, twice. Therefore it would find all years from 1900 to 1999.
Appendix A of the Redax documentation gives a good overview of how to write a Regular Expression. RegexMagic and RegexBuddy,both from JustGreat Software Co. Ltd., can make it easier for you to develop regular expressions. RegexMagic helps you describe text patterns without requiring you to learn the technology behind regular expressions. RegexBuddy requires a little more interest and aptitude in learning the technology of regular expressions but helps guide you along the technology path. For more information on either of these, please see RegexMagic or RegexBuddy.
There are different descriptions and implementations of regular expressions. Redax uses the International components for Unicode (ICU) User Guide for Regular Expressions.
Other resources for Regular Expressions include:
We are happy to help. If you have problems writing your Regular Expressions, please call or e-mail our Support team. Help with regular expressions is included with your yearly paid support & maintenance for Redax.
By Virginia Gavin