Remove Line Numbers
Remove common numeric line-number prefixes from the start of each line.
How to use
- Enter numbered lines and run the cleanup.
Capabilities and scope
After optional leading spaces it recognizes digits followed by one of ., ), :, or -, leaving the remaining line content intact.
How it works
Each line applies /^\s*\d+[.):-]\s*/ and replaces a matching prefix with an empty string.
Example
' 12) item' becomes 'item'.
Useful for
- Strip simple line numbers from copied lists
Before you use it
- Decimals or more complex numbering schemes can be interpreted unexpectedly, so review the result for such data.
Frequently asked questions
What happens to lines without numbers?
If the prefix pattern does not match, the line is preserved unchanged.