n8n match()
Searches a string with a regular expression and returns an array of matches, or null.
Syntax
text.match(/regex/)
Example
'mail [email protected]'.match(/\S+@\S+/)[0]
Result: [email protected]
match()Searches a string with a regular expression and returns an array of matches, or null.
text.match(/regex/)
'mail [email protected]'.match(/\S+@\S+/)[0]
Result: [email protected]