regex.matchRegex Match
Check whether text matches a regular expression and return matches.
{
"type": "object",
"required": [
"input",
"pattern"
],
"properties": {
"input": {
"type": "string"
},
"pattern": {
"type": "string"
},
"flags": {
"type": "string"
}
}
}regex.replaceRegex Replace
Replace regular expression matches in text.
{
"type": "object",
"required": [
"input",
"pattern",
"replacement"
],
"properties": {
"input": {
"type": "string"
},
"pattern": {
"type": "string"
},
"flags": {
"type": "string"
},
"replacement": {
"type": "string"
}
}
}regex.extractRegex Extract
Extract numbered and named captures from text.
{
"type": "object",
"required": [
"input",
"pattern"
],
"properties": {
"input": {
"type": "string"
},
"pattern": {
"type": "string"
},
"flags": {
"type": "string"
}
}
}