Tools

Home
Find & ReplaceFilter LinesRemove Empty LinesStrip HTMLCharacter Counter

Delimited Text Extractor

Extract text between quotes, brackets, parentheses, tags, or custom delimiters

Your files never leave your browser
Delimiters:
Use capture group ( ) to extract specific part
Input0 chars, 0 lines
Extracted Results0 matches
Results will appear here after extraction
Ready·

Pull text from between quotes, brackets, parentheses, or any custom delimiter pair — including nested and escaped ones. Pick a preset or type your own open/close characters, flip on regex mode for pattern-based extraction, and deduplicate or sort the results in one click. And everything runs in your browser. Nothing gets uploaded.

How It Works

Paste Text
→
Pick Delimiters
→
Get Extracted Text

The tool scans your input character by character, matching opening and closing delimiters while tracking nesting depth. When you enable "Outermost only," it skips inner matches and grabs the full outer content instead. Regex mode hands the pattern straight to JavaScript's regex engine with the global flag, so every match in your text gets captured.

Examples

Pulling Quoted Strings from a Config File

Your app config has dozens of hardcoded strings and you need a list of all of them for a translation file.

INPUT
title = "Welcome Back" msg = "Your session expired" btn = "Log In Again" err = "Something went wrong"
OUTPUT
Welcome Back Your session expired Log In Again Something went wrong

Extracting Function Arguments from Code

You're reviewing a script and want every argument passed to a specific function call. Set delimiters to parentheses.

INPUT
print("hello world") calculate(45, 67, 89) send_email("[email protected]", subject="Alert")
OUTPUT
"hello world" 45, 67, 89 "[email protected]", subject="Alert"

Grabbing Shortcodes from a WordPress Post

A blog post is full of square-bracket shortcodes and you need to audit which ones are being used. Set delimiters to [ and ].

INPUT
Check out our [gallery id="5"] below. For pricing see [table cols="3"]. Contact us [contact_form style="minimal"].
OUTPUT
gallery id="5" table cols="3" contact_form style="minimal"

Who Uses This

👨‍💻 Developers

Rip out every string literal, function argument, or template variable from source code in one shot.

📊 Data Analysts

Extract quoted fields from messy CSV exports or pull tagged values out of log files.

✍️ Content Editors

Pull all shortcodes, citations, or bracketed references from long documents for review.

🔒 Security Researchers

Extract URLs, IPs, or tokens wrapped in specific delimiters from packet captures or logs.

Common Mistakes

Forgetting to handle nested delimiters

If your text has something like (a (b) c) and you get just a (b as a result, turn on the "Outermost only" option. Without it the tool matches the first closing delimiter it finds.

Escaped quotes breaking extraction

Text like He said \"hello\" inside a double-quoted string will split into fragments unless you check the "Respect escape characters" box. That tells the tool to skip backslash-escaped delimiters.

Using the wrong mode for regex patterns

If you type a regex pattern into the custom delimiter fields, it gets treated as a literal string. Switch to Regex mode first — that's the only mode where patterns like \d+ or [A-Z]+ actually work as regular expressions.

Technical Details

Frequently Asked Questions

What delimiters can I use with this tool?

Built-in presets cover double quotes, single quotes, parentheses, square brackets, curly braces, angle brackets, and backticks. You can also type any custom pair — even multi-character ones like {{ and }}. For advanced patterns, switch to regex mode.

How do I extract text between nested brackets?

Turn on the "Outermost only" toggle. With it on, (a (b) c) gives you a (b) c as a single result instead of matching b separately. Turn it off if you actually want the innermost matches.

Does this tool upload my text to a server?

No. All processing runs locally in your browser with JavaScript. Your text never leaves your device, is not stored, and is not sent anywhere. It works offline once the page has loaded.

Can I use regular expressions to extract text?

Yes — switch to Regex mode and type your pattern. If you include a capture group in parentheses, only the captured part gets extracted. Without a capture group, you get the full match. All matches in the input are returned.

What does the escape character option do?

It tells the tool to recognize backslash as an escape character. So a \" inside a double-quoted string won't be treated as the closing quote. This is useful for code, JSON, or any text where escaped delimiters are common.

Share: