Text tool

Extract Text Between

Paste text, enter an opening and closing delimiter, and collect each completed pair locally.

In-browser processingNo account requiredPrivacy details ↗

Delimiters are literal text, not regular expressions. Each completed pair is returned; overlapping pairs are not reused. Maximum 1 MiB.

Enter text and delimiters to begin.

A QUICK WALKTHROUGH

How to use this tool

  1. Paste up to 1 MiB of text.
  2. Enter literal opening and closing delimiters.
  3. Extract and copy the matched contents.

Literal delimiters

Delimiters are searched as plain text. Regex syntax is never interpreted.

Non-overlapping pairs

Matches are scanned left to right. After a pair is closed, its delimiters are not reused, so overlapping matches are skipped.

Local and bounded

Input is limited to 1 MiB and stays in your browser.

GOOD TO KNOW

Common questions

Are delimiters regular expressions?

No. Both delimiters are literal strings, including punctuation and whitespace.

What happens when a delimiter is missing?

That incomplete pair is omitted, and scanning stops when no closing delimiter remains.

Can matches overlap?

No. Each completed pair consumes its delimiters before the next search begins.