Skip to content

Step: Check Regex

  • Key: check-regex
  • Category: Utilities
  • Description: Check if a string matches a regular expression.

Inputs

  • input (long-text, required): Input string
  • pattern (text, required): Regex pattern
  • flags (text): Regex flags (e.g., g, i, m)

Outputs

  • isMatch (boolean): Whether pattern matched
  • matches (array): Matched substrings

Notes

  • Useful to branch with Condition based on validation.

Built with VitePress