Text Between Delimiters Extractor

Extract one or every section enclosed by literal start and end markers.

Loading Text Between Delimiters Extractor...

How to use

Enter literal start and end markers. Sections are found from left to right without nesting; choose how an opening marker with no later closing marker should be handled.

Example

Input
One [apple], two [pear].
Output
apple pear

Limitations

Markers are literal and extraction is non-nesting. If the format permits nested or escaped markers, this simple delimiter model cannot infer those rules.

Frequently Asked Questions

Are the markers interpreted as regular expressions?

No. Every character in each marker is matched literally.

What happens to an unmatched opening marker?

You can ignore it, extract through the end of the input, or stop with an explicit error.