# Regex

A regular expression to use to find potential matches in your input text.

Eduction uses the configured `Regex` to run an initial check to find potential matches in your input text. It then creates a match window by selecting characters before and after the potential match, and uses your grammar to find actual matches in these windows.

Set this parameter to a regular expression that broadly matches everything that might be a match for your intended entity. For example, to match telephone numbers or addresses, you might find any string of digits. This narrows down the amount of text that Eduction must match against your entity, while ensuring that it does not miss potential matches.

You can use WindowCharsAfterMatch and WindowCharsBeforeMatch to determine the size of the matching window to use.

Type: | String
Default: |
Required: | No
Configuration Section: | MyPreFilterTask
Example: | `Regex=\d{1,7}`
See Also: | WindowCharsAfterMatch WindowCharsBeforeMatch

_FT_HTML5_bannerTitle.htm