Skip to main content

Text: Regexp capture

Capture text from a string using regular expression.

Input

StringREQUIRED
Input text

Parameters

RegexpREQUIRED
A regexp to capture
Example
Regexp: (?<package>\w+) (?<size>\d+)
Input: Pack 42
Ouput:
- connector: package -> Pack
- connector: size -> 42
Skip if no match

If checked ignore node when capture fail

Output

Captured string(s)
Each matching element of the capture