Text-between extractor
Extract each piece of text between a pair of delimiters.
Bookmark this page
Keep this page handy for next time.
- On a computer
- Press Ctrl + D, or Command + D on a Mac.
- On a phone or tablet
- Open your browser's menu or Share menu and look for Add Bookmark, Bookmark or Add to favourites.
A bookmark saves the page link. Save any tool results separately.
How to use this tool
- Supply literal opening and closing delimiters.
- Each non-overlapping pair produces one output line.
- An unmatched final opening delimiter is ignored.
Things to know
- Pairs are scanned left to right; nested delimiters are not interpreted.
- Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.
- Line-based modes accept up to 100,000 lines, including a trailing empty line.
You might also need
More in text & listsText-column extractor
Extract numbered columns from delimited lines without damaging quoted fields.
Delimiter converter
Turn lines or separated values into SQL lists, arrays and custom delimited text.
Case converter
Change text to uppercase, lowercase, title case, sentence case or capitalise each word.
Combination builder
Generate pairs, Cartesian products or combinations from lists.
Text diff
Compare two texts and produce a readable unified line diff.
Bold, small and styled text generator
Make copyable bold, small, circled, strikethrough or upside-down text using Unicode characters.
Text repeater
Repeat text a chosen number of times, with line breaks, spaces or your own separator.
Word and character counter
Count words, Unicode characters, graphemes, lines and UTF-8 bytes.
Invisible character generator
Copy blank spaces or zero-width characters with their exact Unicode code point and character count.