0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions114

Text → Regex

AI-generated

Overview

This node performs a regex operation on text data. It takes input text and a regex expression, applies the regex to the text, and outputs the result. This is useful for extracting patterns, validating formats, or searching within text in automation workflows.

Use Case Examples

  1. Extracting email addresses from a block of text using a regex pattern.
  2. Validating if a string matches a specific format like phone numbers or postal codes.
  3. Searching for specific keywords or patterns within text data.

Properties

Name Meaning
text The input text on which the regex operation will be performed.
expression The regex expression used to match patterns within the input text.

Output

JSON

  • result - The output of the regex operation, typically the matched text or extracted data.

Dependencies

  • Requires an API key credential for the CodeKit API to perform the regex operation.

Troubleshooting

  • Ensure the regex expression is valid and correctly formatted to avoid errors.
  • If the node fails, check that the input text is provided and is a string.
  • Verify that the API key credential is correctly configured and has access to the CodeKit service.

Discussion