Remove text from the start and end of every line in a list.
Runs entirely in your browser.
Strip a Prefix and Suffix From Every Line
Input
Output
Remove from the start: Remove from the end: Trim each line first Only change lines that match
About Unwrap Lines
Removes the given text from the front and back of each line, but only if it is actually there - so a list where some lines are already bare comes out consistent rather than mangled.
Untick Only change lines that match to strip the given number of characters regardless. This is the counterpart of Wrap Each Line.
Other Text and List Tools
Text
- Censor Words
- Extract Email Addresses
- Extract a Substring
- Find Hidden Characters
- Add Quotes to Text
- Repeat Text
- Truncate Text
- Reverse Text
- Rotate Text
- Randomize Case
- Text to Unicode
- Palindrome Checker
- Create a Palindrome
Lines and lists
- Join Lines
- Split Text
- Wrap Each Line
- Group Lines
- Find Most Common Lines
- Rotate Lines
- Truncate a List
- Sort Lines
- Remove Duplicate Lines