Text extract between

text-extract-between · version 1.0.0 · Text · free, no key needed

Extract exact substrings between start and end markers, left to right and non-overlapping.

Use when you need to: text extract between · extract text between markers · substring between start and end markers.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "text": "pre[one]mid[two]post",
  "start": "[",
  "end": "]"
}

Response:

{
  "result": {
    "matches": [
      "one",
      "two"
    ],
    "truncated": false
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "text-extract-between",
  "version": "1.0.0",
  "input": {
    "text": "pre[one]mid[two]post",
    "start": "[",
    "end": "]"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/text-extract-between/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"text":"pre[one]mid[two]post","start":"[","end":"]"}'

The machine-readable contract is at /v1/tools/text-extract-between/versions/1.0.0.

CLI

node cli.mjs run text-extract-between 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.