Text copied from numbered listings keeps the leading numbers, which you usually do not want.
Remove Line Numbers strips a leading number and its separator from the start of each line.
How to use Remove Line Numbers
- Paste the numbered lines you want cleaned into the input box.
- Remove Line Numbers detects and removes a leading number and separator from each line.
- Copy the unnumbered lines, or download them as a .txt file.
Use cases
- Stripping line numbers copied from a code listing.
- Removing leading numbers from a pasted ordered list.
- Cleaning numbered references back into plain lines.
Good to know
Remove Line Numbers detects a leading number optionally wrapped in brackets and followed by a dot, colon, bracket or dash and whitespace, and removes it from the start of each line. Text that is not a leading line number is left untouched.
Frequently asked questions
What number formats are removed?
It removes a leading number followed by a separator such as a dot, colon, bracket or dash and spaces.
Will it remove numbers inside the text?
No. Only a number at the very start of a line is removed; numbers within the text are kept.
Does it require a separator after the number?
Yes. The leading number must be followed by a separator and whitespace to be recognised and removed.