Summary
Finds regex matches in a string.
Description
Retrieves the matches when matching a string against a regular expression.
Route
POST /string/match
Roles
admin
Parameters
DetailsExampleSchema
| Name | Type | Required | Description |
|---|---|---|---|
| str | string | yes | The string to search |
| regExp | string | yes | The regular expression to match |
| flags | string | no | Indicates the flags to add |
Return
DetailsExampleSchema
| Name | Type | Description |
|---|---|---|
| matches | array | Matches the entire matched string as the first element, followed by any results captured in parentheses. If there are no matches, 'null' is returned |