When the Identify Type is set to Text the Pre-Processing tab displays these configuration options.
1. Press the + button to add a new Text Search.
-
Configure the text search settings to help find data based on using a regular expressions (regex)
Hint: The quickest way to construct as regular expression is to cut and paste the text layer from a PDF into ChatGPT or Copilot and ask it to build you a regex to find a specific string of text in that OCR text.
In the example below it shows using a simple regex to find a 17 digit bank account number.
Press the cog icon to display the settings for this search.
The form has been configured to:
Use a regular expression to Search For a 17 digit bank account number in the document
The Regular expression box is ticked (i.e. that's why the Search For string must be entered in regex syntax)
The Entity Type has been entered as Credit Card Number.
The result is being returned to a grid whose Metadata ID is identify_grid.
Hint: All of the fields on this form have very descriptive tool tips. They provide comprehensive detail on how to use and configure the feature.
-
Repeat step 2 for as many text searches that you need to define.
-
Use the Test Search Configurations button to interactively test the Proximity Targets you have defined.
It launches this form that allows you browse to import a test document and run the enabled text searches on the pages of the document:
When the PDF document loads, the enabled text searches are run. By default, the results panel on the right side of the screen lists all configured text searches (enabled and disabled). For each text search that is enabled it will use a different color to indicate whether a text search was successful (green), or unsuccessful (red).
Hint: When you have configured a large number of Text Searches you can click on the green or red badge to limit the results panel to displaying only successful, or unsuccessful text search results.
If the text search text existed on the document page but no search result was found by the regex, you might need to try changing the regex to make that particular search work.
-
Once you have completed testing the pre-processor using the Test Search Configurations form, you are now ready to test the RIA App Page Queue, by importing a sample PDF document into that queue.