Replace regular expression matches in text, with an optional max-replacement cou
Replace regular expression matches in text, with an optional max-replacement count.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
1038 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402.agentindex.world/regex/replace
| Category | Code and developer |
|---|---|
| Provider host | x402.agentindex.world |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.001 | 1231 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 1399 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 1038 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 1010 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 1403 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 922 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 971 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 1001 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 1171 ms |
| 2026-11-17 | valid payment request | 402 | $0.001 | 996 ms |
| 2026-11-16 | valid payment request | 402 | $0.001 | 903 ms |
| 2026-11-15 | valid payment request | 402 | $0.001 | 923 ms |
| 2026-11-14 | valid payment request | 402 | $0.001 | 926 ms |
| 2026-11-13 | valid payment request | 402 | $0.001 | 957 ms |
| 2026-11-06 | valid payment request | 402 | $0.001 | 889 ms |
| 2026-11-05 | valid payment request | 402 | $0.001 | 885 ms |
| 2026-11-04 | valid payment request | 402 | $0.001 | 916 ms |
| 2026-11-03 | valid payment request | 402 | $0.001 | 1128 ms |
| 2026-11-02 | valid payment request | 402 | $0.001 | 893 ms |
| 2026-11-01 | valid payment request | 402 | $0.001 | 916 ms |
| 2026-10-31 | valid payment request | 402 | $0.001 | 916 ms |
| 2026-10-29 | valid payment request | 402 | $0.001 | 871 ms |
Example input (from the provider)
{
"body": {
"pattern": "\\s+",
"replacement": " ",
"text": "too many spaces"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"count": {
"default": 0,
"title": "Count",
"type": "integer"
},
"pattern": {
"title": "Pattern",
"type": "string"
},
"replacement": {
"title": "Replacement",
"type": "string"
},
"text": {
"title": "Text",
"type": "string"
}
},
"required": [
"pattern",
"text",
"replacement"
],
"title": "RegexReplaceInput",
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"replacements": {
"title": "Replacements",
"type": "integer"
},
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result",
"replacements"
],
"title": "RegexReplaceOutput",
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}