Formatting Tools

Remove Prefix and Suffix

Strip matching wrappers from each lineβ€”undo bullet markers, JSON quotes, or bracketed IDs without regex gymnastics.

Remove Prefix and Suffix

Set patterns to remove or pick a preset β€” output updates instantly.

Live

Presets

Apply to
Matching
Output
0 Input lines
0 Lines changed
0 Prefixes removed
0 Suffixes removed
0 Unmatched lines
0 Chars removed
Wrapped lines to strip
Stripped result

Enter prefix/suffix patterns to strip from each line.

Your text stays in your browser β€” nothing is uploaded.

Example

Remove Prefix and Suffix Modes

Common Uses

Before and After Examples

ModeBeforeAfter
Bullet prefix- appleapple
Quotes"apple"apple
Parentheses(apple)apple
Brackets[apple]apple
HTML li<li>apple</li>apple
SQL value('apple')apple
URL path/aboutabout
File extensionreport.txtreport

Add vs Remove Prefix and Suffix

TaskBest tool
Add bulletsAdd Prefix and Suffix
Remove bulletsRemove Prefix and Suffix
Add quotesAdd Prefix and Suffix
Remove quotesRemove Prefix and Suffix
Wrap HTML list itemsAdd Prefix and Suffix
Strip HTML list itemsRemove Prefix and Suffix

Why Use Remove Prefix and Suffix?

Wrapper Types Explained

Large Examples

Popular Workflows

Notes and Limitations

Frequently Asked Questions

Can I remove only a prefix?

Yes. Leave the suffix field empty and matching leading text is stripped from each line.

Can I remove only a suffix?

Yes. Leave the prefix field empty β€” useful for file extensions like .txt.

Must both prefix and suffix match?

By default each side is removed independently. Enable Both must match to require both patterns before stripping.

What happens to lines that do not match?

Unmatched lines pass through unchanged. Use preview unmatched lines to show only those rows.

Can matching be case-sensitive?

Yes. Toggle case sensitive matching when wrapper capitalization must match exactly.

Can I remove quotes from CSV values?

Yes. Use the CSV quotes preset or set prefix and suffix to " with both must match enabled.

Can I remove Markdown bullets?

Yes. Use the Markdown bullets preset or set prefix to - .

Can I remove HTML list tags?

Yes. Use the HTML li preset with prefix <li> and suffix </li>.

Can I remove repeated wrappers?

Yes. Enable remove repeated wrappers to loop until no matching prefix or suffix remains.

Can I remove only the first prefix?

Yes. Set the prefix field and leave suffix empty β€” only the leading match is stripped once per line unless repeated removal is enabled.

Can I remove file extensions?

Yes. Leave prefix empty and set suffix to .txt, .csv, or any extension pattern.

Can I remove URL paths?

Yes. Use the URL path preset or set prefix to / to strip leading slashes from slug lists.

Can I remove brackets and quotes together?

Yes. Set matching prefix and suffix β€” for example " and ", or [ and ] β€” with both must match if needed.

Does it work with multiline text?

Yes. Each line is processed independently, so multiline pasted lists strip wrappers row by row.

Will unmatched lines stay unchanged?

Yes. Lines that do not match your prefix or suffix patterns are left as-is in the output.

Is my text uploaded?

No. All stripping runs locally in your browser β€” your text never leaves your device.