Convert numbered lines into plain text

Please log in or register to do it.

This tool converts numbered lines into plain text. It processes your input text line‑by‑line and removes the numbering markers from the beginning of each line. The tool is designed to handle a wide range of numbering variations (for example: "1- Text", "2 - Text", "3) Text", "4. Text", "* 5 * Text", "6* - Text", etc.). You can choose from several options: remove all leading numbering using a generic pattern, remove only specified numbering markers, use a custom regular expression to match numbering, or reformat the cleaned lines with a custom prefix. Simply enter your numbered text, choose the desired conversion mode, adjust the settings, and click the process button.

Conversion Modes:


Removes any numbering markers at the beginning of each line using a generic pattern. This covers variations such as "1- Text", "2 - Text", "3) Text", "4. Text", "* 5 * Text", "6* - Text", etc.

Removes only the numbering markers that exactly match the specified list. Enter a comma‑separated list of markers (e.g., "1-, 2 -, 3)", "4.", "* 5 *").

Uses a custom regular expression to match and remove numbering markers. Enter your regex pattern (e.g., /^[\*\d\-\.\)\s]+/).

Removes the numbering markers and prepends a custom prefix to each line. Use {line} as a placeholder for the cleaned text.

Examples:

Remove All Leading Numbering

The tool removes all leading numbering markers regardless of variation.

Before:
1- This is a sample.
2 - This is another sample.
3) Yet another sample.
4. Sample text.
* 5 * Extra sample.
6* - Final sample.
After:
This is a sample.
This is another sample.
Yet another sample.
Sample text.
Extra sample.
Final sample.

Remove Only Specified Numbering Markers

Only numbering markers that match the specified list are removed. For example, if you specify "1-, 3)", those formats will be stripped while others remain.

Before:
1- This is a sample.
2 - This remains unchanged.
3) Yet another sample.
4. Sample text.
After (Specified Markers: "1-, 3)"):
This is a sample.
2 - This remains unchanged.
Yet another sample.
4. Sample text.

Remove Numbering Using Custom Regex

Uses a custom regex pattern to remove numbering markers. For example, using the regex /^[\*\d\-\.\)\s]+/ removes all leading numbering from various formats.

Before:
1- This is a sample.
2 - This is another sample.
3) Yet another sample.
4. Sample text.
* 5 * Extra sample.
After (Regex: /^[\*\d\-\.\)\s]+/):
This is a sample.
This is another sample.
Yet another sample.
Sample text.
Extra sample.

Reformat Numbered Lines

Removes numbering markers and prepends a custom prefix to each line using the provided format.

Before:
1- This is a sample.
2 - This is another sample.
3) Yet another sample.
4. Sample text.
After (Format "Line: {line}"):
Line: This is a sample.
Line: This is another sample.
Line: Yet another sample.
Line: Sample text.
Convert date format into words
Convert text to Capitalized Case

Your email address will not be published. Required fields are marked *