Extract numbers smaller than X

Please log in or register to do it.

This tool extracts numbers from your text that are smaller than a specified maximum value. It filters out any numbers equal to or above the value you enter. Simply paste your text, set the maximum value, and run the tool.

Extraction Modes:


Extracts every number from the text that is less than the specified Maximum Value (X):

Extracts only the numbers (smaller than X) that contain the specified substring(s). Enter a comma‑separated list (e.g., 2, 5).

Extracts every number (smaller than X) except those that contain the specified substring(s). Enter a comma‑separated list (e.g., 0).

Extracts each number (smaller than X) and formats it using a custom format. Use {number} as a placeholder.

Examples:

Extract All Numbers Smaller Than X

Extracts every number from the text that is less than the specified maximum value.

Before:
The values are 3, 15, 20.5, and 7. Also note 12.
After (max = 15):
3
7
12

Extract Only Numbers Matching Specified Substrings

Extracts only numbers (smaller than X) that contain the specified substring (e.g., "2").

Before:
The values are 3, 15, 20.5, and 7.
After (max = 25, specifying "2"):
15
20.5

Extract All Except Numbers Containing Specified Substrings

Extracts every number (smaller than X) except those that contain the specified substring (e.g., "0").

Before:
The values are 3, 15, 20.5, and 7.
After (max = 25, excluding "0"):
3
15
7

Extract Numbers with Custom Format

Each extracted number (smaller than X) is formatted using your custom format.

Before:
Final score was 85 and bonus was 10.
After (max = 100, format "[{number}]"):
[85]
[10]
Extract text where every word starts with a capital letter
Extract words that contain accented characters

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