This tool extracts part of a list using flexible criteria. You can extract by line numbers, match exact values, or use marker phrases that define the start and end. Options include trimming whitespace, ignoring empty lines, and using case-sensitive matching.
How to Use:
- Paste or import your list into the Input List box.
- Choose a mode:
- Line Range: extract from start to end line (inclusive)
- Match Values: extract from one line value to another
- Marker Text: extract between lines containing specific text
- Enter start and end values depending on mode.
- Adjust options:
- Trim lines
- Ignore empty lines
- Case-sensitive
- The result appears in the Extracted Sublist box.
- Use Copy Output or Export to File to save it.
- Click Clear All to reset the tool.
Example:
Input:
apple
banana
cherry
date
elderberry
fig
grape
honeydew
kiwi
Mode: Line Range (2–5)Output:
banana
cherry
date
elderberry
Mode: Marker Text Start: cherry, End: fig Output:
cherry
date
elderberry
fig
Common Use Cases:
This tool is ideal for extracting sections from log files, isolating list segments, pulling text between known markers, or slicing datasets based on position or content.
Useful Tools & Suggestions:
If you’re extracting a sublist, Slice a List gives you similar control with clean start and end points perfect when you know exactly which segment you need. After pulling the sublist, Trim List Items helps tidy up any formatting so the result is clean and ready to use. It’s a solid approach when you’re analyzing segments, isolating patterns, or pulling just what matters from a bigger set.