Words & files

Change every line at once

Keep text before or after a symbol

Keep the words you need from each line by choosing a symbol or word to split on.

Free browser tool

Choose where each line should split

Paste lines, enter a marker, and choose Before or After.

Processed in your browser

Copy or download the result

No account. No signup.

Optional guide Learn more about this tool Open the full explanation and detailed steps.

How line-by-line delimiter extraction works

Each line is searched independently, so the output stays aligned with the records you pasted.

  1. Paste one record per line

    The tool preserves line order and handles every pasted row independently.

  2. Enter the exact delimiter

    Use a character or a longer marker such as a pipe, colon, slash, arrow, or custom word.

  3. Choose what to keep

    Keep text before or after the first or last marker. You can also keep, remove, or blank lines without it.

Quick example

Extract order statuses

The example keeps everything after the pipe on each order line.

Common questions

Text before or after a marker FAQ

Can the delimiter contain more than one character?

Yes. Enter any exact text marker, including combinations such as ::, ->, or [end].

What is the difference between first and last occurrence?

First uses the earliest matching delimiter on a line. Last uses the final matching delimiter, which is useful for paths or records containing repeated separators.

What happens to lines without the delimiter?

You can keep the original line, remove it, or preserve its position as a blank output line.

Does the tool send my text anywhere else?

No. It runs in your browser. Use Save on this device to keep your work here, or download a backup file.