Text Tool
Extract Numbers
Extract Numbers pulls matching values out of mixed content and returns a clean list. Use it online on EasyTools99.
Tool area
Everything runs in the browser.
Reference results
| Input | Result |
|---|---|
12 boxes, 8 cases, 12 boxes | 12
8 |
48 King Street, floor 2 | 48
2 |
Balance -12.50 GBP | 12.50 |
Amount 1,250.40 GBP | 1
250.40 |
Code 0042 | 0042 |
Weight 1 250 kg | 1
250 |
How it works
The filter looks for runs of digits, with an optional fractional part after a period. It returns one match per line and removes identical repeats. Signs next to the digits and units after them stay outside the matched string.
Worked examples
- A stock clerk compares extracted figures with the receiving sheet and checks repeated quantities in the original note.
- A receptionist finds a building number and a floor in copied text, then uses the source to assign them to the correct fields.
- An accounts assistant sees several digit groups in a formatted price and switches to the ledger’s numeric export.
Common pitfalls
- Treating the output as signed amounts.
- Assuming grouping separators survive extraction.
- Interpreting a building number as a quantity.
A minus sign is lost and a comma separates two digit sequences. Standardize decimal notation before pasting and keep the original to check signs and units.
FAQ
How do I extract decimal numbers from text?
Use a decimal point between the whole and fractional parts.
Do numbers stay in their original order?
Yes. Each distinct match stays in order of first appearance.
Can I count every occurrence of a number?
The extractor deduplicates identical matches. Count occurrences in the original text.
