Advanced RegEx Tool icon

Advanced RegEx Tool

Performs powerful Regex pattern extraction, search-and-replace, and validation on unstructured text data (e.g., emails, logs, web scraping output).

Extract

AI-generated

Overview

The Advanced RegEx Tool node performs powerful regular expression extraction on unstructured text data. It is useful for scenarios where you need to extract specific patterns from text such as emails, logs, or web scraping results. For example, extracting all email addresses from a block of text or pulling out specific data fields from log entries.

Use Case Examples

  1. Extracting all phone numbers from customer feedback text.
  2. Extracting URLs from web scraping output.

Properties

Name Meaning
Input Text The text to process and extract data from.
Regex Pattern The regular expression pattern used to find matches in the input text.
Regex Flags Flags for the regular expression such as global (g), case-insensitive (i), or multiline (m) to control matching behavior.

Output

JSON

  • result - The result of the regex extraction operation, containing matched data or extraction output.

Dependencies

  • An API key credential for the external customJs API service used to perform regex operations.

Troubleshooting

  • Common issues include invalid regex patterns causing errors, which will be returned as error messages in the output if 'Continue On Fail' is enabled.
  • Errors related to missing or invalid API credentials for the external service.
  • If the regex flags or pattern are incorrect, the extraction may return empty or unexpected results.

Links

Discussion