text
Match, replace or split with a regular expression
Tests a PCRE pattern against text. operation=match returns the first match; match_all returns all matches with offsets and capture groups; replace performs substitution; split divides the text on matches. ReDoS-protected: catastrophic patterns return 422 pcre_error: backtrack limit exhausted.
post/regex-test.php
Request
- Base URL: https://mate.tools/api/v1
- URL: https://mate.tools/api/v1/regex-test.php
- Auth: none declared
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.