Introduction

The “Find Regular Expressions” dialog works in same manner as the “Find Using List” Dialog, but in addition to adding specific words to an exemption code, a regular expression may be used. Additional information about regular expressions can be found in Appendix A: Regular Expressions.

As in the Find Using List, after you click the Find button, Redax draws a Redax box around all text matched by the regular expression. Each box contains the corresponding exemption code. If a regular expression matches part of a word, the whole word will be covered by the Redax box.

An example regular expression search

  1. Open the Redax sample document sample_base.pdf (located in the c:\Appligent\Redax\Samples directory)

  2. Open the Redax > Find Regular Expressions dialog.

  3. Import the sample file sample_regex_list.txt. You should see the exemption, Year, listed in the exemption window on the left with two lines in the right-hand window:

    Find Regular Expression Dialog Search for dates

    See Appendix A: Regular Expressions for an introduction to the concept and references to additional resources.

  4. Click the Find button. Redax will go through and mark all 4-digit numbers between 1900 and 2049, with the exemption code of Year.

    A segment of the output for this example is displayed in the figure below:

         Marked text area from Find Using Regular Expression run