Pulling the amounts out of a pasted invoice
Invoices, bank statements and reports often reach you as text that is hard to put into a sheet: a PDF copied as paragraphs, an email with figures in sentences, or a chat where someone listed costs. The numbers are there, but each sits between words. Paste the text into the box and every number comes out on its own line.
Here is a small example. The text "Paid $1,234.50 for 3 items, pages 10-20." gives four numbers: 1,234.50, 3, 10 and 20. The dollar sign is not part of the number. The thousands comma stays, so the value reads the way it did in the text. And "10-20" is two numbers, because a hyphen straight after a digit is a range, not a minus sign.
The "List each one once" box changes what the list is for. Ticked, it answers "which values appear here?", and a figure that turns up three times is listed once. Unticked, it answers "what are all the figures, in order?", which is what you want when you plan to add them up or check them line by line against another document.
Some shapes are worth knowing about. Scientific notation such as 2.5e3 is kept whole. A version number such as 1.2.3 gives 1.2 and then stops, because a number has only one decimal point. Digits that are part of a word, such as 3rd or 7a, give 3 and 7. Spaces split numbers, so "1 234 567", written with spaces as thousands separators, gives three numbers.
The main limit is the decimal mark. The tool follows the English convention, with a dot for decimals and commas for thousands. Text written the other way, such as 1.234,50, is read wrongly, and a number such as 12,34 gives only 12. A number that starts with a bare decimal point, such as .5, is not found. Fractions such as 1/2 come out as two numbers. If your text uses another convention, fix the separators first, then extract.