NiFi Ingest 26.1
NiFi Ingest

# Regex

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

Named Entity Recognition 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 Named Entity Recognition 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

Copyright 2018-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery NiFi Ingest 26.1

Topic Title: Regex