gg
HomeText › Extract Numbers
Text

Extract Numbers

Pull every number out of a block of text, including negatives and decimals, one per line. It recognizes an optional minus sign, digits and an optional fractional part. Handy for extracting prices and stats.

Try it now

Worked example

3 12 4.50

Frequently asked

Are decimals and negatives supported?

Yes — a leading minus and a decimal point are both recognized.

Does it keep the surrounding words?

No, only the numbers are returned.

Related Text tools