Docs
NodesProcessing Nodes
Edit Page on GitHub

Text Extract

Extracts specific text from a string using a Regular Expression (Regex).

textextractregexprocessingstringMedium0

Text Extract

0
Flow
Extracted Text
Tool
Flow
Not connectedFlow
Text
Regex Pattern
Match All

No


Description

The Text Extract node allows you to extract specific text from a larger string using Regular Expressions (Regex). This is useful for parsing structured data from unstructured text, such as pulling out email addresses, phone numbers, or any pattern-based information.

Common Use Cases

  • Extracting specific information from user input
  • Parsing data from web scraping results
  • Pulling out structured data from logs or documents

Inputs

The input connections this node accepts:

NameDescriptionTypeFlowThe flow of the workflowFlowTextThe source text to extract from.TextRegex PatternThe regular expression pattern used for extraction.TextMatch AllExtract all occurrences matching the patternBoolean

Outputs

The output connections this node provides:

NameDescriptionTypeFlowThe Flow to triggerFlowExtracted TextThe extracted text. Returns a JSON stringified array if 'Match All' is true, or a single string if false.TextToolThe tool version of this node, to be used by LLMsTool

Fields

The configurable fields this node provides:

NameDescriptionTypeTextThe source text to extract from.Value: Enter text here...TextAreaRegex PatternThe regular expression pattern (e.g., \d+ for numbers).Value: Enter regex here...TextMatch AllExtract all occurrences matching the patternValue: falseCheckBox

Last updated on