Find and replace literal text or RE2 regex matches in linear time
Find and replace literal text or RE2 regex matches in linear time. Use when an agent must do a literal or regex find-and-replace on a text.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
347 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://tanod.dev/v1/text/replace
| Category | Code and developer |
|---|---|
| Provider host | tanod.dev |
| Networks | eip155:137, eip155:42161, eip155:56, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| 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 | 206 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 198 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 363 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 379 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 360 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 347 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 284 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 342 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 287 ms |
| 2026-11-17 | valid payment request | 402 | $0.001 | 355 ms |
| 2026-11-16 | valid payment request | 402 | $0.001 | 249 ms |
| 2026-11-15 | valid payment request | 402 | $0.001 | 390 ms |
| 2026-11-14 | no x402 terms | 523 | 3289 ms | |
| 2026-11-13 | valid payment request | 402 | $0.001 | 284 ms |
| 2026-11-12 | valid payment request | 402 | $0.001 | 296 ms |
| 2026-11-11 | valid payment request | 402 | $0.001 | 362 ms |
| 2026-11-10 | valid payment request | 402 | $0.001 | 290 ms |
| 2026-11-09 | valid payment request | 402 | $0.001 | 184 ms |
| 2026-11-08 | valid payment request | 402 | $0.001 | 356 ms |
| 2026-11-07 | valid payment request | 402 | $0.001 | 352 ms |
| 2026-11-06 | valid payment request | 402 | $0.001 | 350 ms |
| 2026-11-05 | valid payment request | 402 | $0.001 | 188 ms |
| 2026-11-04 | valid payment request | 402 | $0.001 | 291 ms |
| 2026-11-03 | valid payment request | 402 | $0.001 | 348 ms |
| 2026-11-02 | valid payment request | 402 | $0.001 | 291 ms |
| 2026-11-01 | valid payment request | 402 | $0.001 | 189 ms |
| 2026-10-31 | valid payment request | 402 | $0.001 | 311 ms |
| 2026-10-29 | valid payment request | 402 | $0.001 | 359 ms |
Example input (from the provider)
{
"body": {
"find": "(?i)order (\\d+)",
"mode": "regex",
"replace": "#\\1",
"text": "Order 123 shipped; order 456 pending"
},
"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": {
"additionalProperties": false,
"properties": {
"case_sensitive": {
"default": true,
"description": "Match letter case exactly (default true); false ignores case.",
"type": "boolean"
},
"dot_all": {
"default": false,
"description": "regex: . also matches a newline.",
"type": "boolean"
},
"find": {
"description": "Literal text, or an RE2 pattern (mode=regex; no backreferences or lookaround; \\p{L} for letters).",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"max_replacements": {
"default": 10000,
"description": "Replace at most this many matches, first to last (1-10,000, default 10,000).",
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
"mode": {
"default": "literal",
"description": "literal (default: find is plain text) or regex (find is an RE2 pattern).",
"enum": [
"literal",
"regex"
],
"type": "string"
},
"multiline": {
"default": false,
"description": "regex: ^ and $ match at line breaks.",
"type": "boolean"
},
"replace": {
"description": "Replacement; regex mode: \\1..\\99, \\g<name>, \\\\ for a backslash.",
"maxLength": 1000,
"type": "string"
},
"text": {
"description": "The text (at most 200,000 characters).",
"maxLength": 200000,
"minLength": 1,
"type": "string"
}
},
"required": [
"text",
"find",
"replace"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"engine": {
"type": "string"
},
"limit_reached": {
"type": "boolean"
},
"mode": {
"type": "string"
},
"replacements": {
"type": "integer"
},
"source": {
"type": "object"
},
"text": {
"type": "string"
}
},
"required": [
"text",
"replacements"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}