Skip to content
OddsockLocal
Local
Source text

Formatting

5 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste the paragraph.
  2. Read one number per line, including a leading minus when the pattern treated it as a sign.
  3. Turn Unique matches only on to keep the first copy of a repeated numeral such as 2.
  4. If a date or a thousands separator was split, fix that in the source before you add the column up.

What is Extract numbers?

Numbers hide in sentences, and a spreadsheet wants them in a column. This page lists integers, decimals, and scientific notation: an optional sign, digits, an optional fractional part, and an optional exponent such as 6e3 or 6E-2. “Odd socks in the dryer.” has none, so the result is empty. “-2.5” stays one token. “6e3” stays one token.

Read more

The pattern does not know about grouping commas or calendar dates. “1,000” becomes 1 and then 000. “2026-12-04” becomes 2026, then -12, then -04, because a minus between digit runs is read as a sign on the next number. A fraction like 1/2 becomes 1 and 2. Roman numerals are ignored. Thousands written as 1.000 in some locales are read as the decimal 1.000, which is one.

Only ASCII digits match. A full-width 2 is skipped. Currency symbols and units are left behind, so $2 and 2C both contribute 2. Unique matches only keeps the first copy of an identical numeral. Phone numbers are not special here: their digits will be listed as numbers if you paste them.

Use cases

  • An analyst lifting prices out of a product description.
  • A student separating the figures in a lab note from the prose.
  • A bookkeeper who needs to see that 1,000 was split before trusting a sum.
  • A developer checking scientific notation in a log line.
  • Someone comparing a date-heavy paragraph with a tool that should have kept the date whole.

A count, a thousands comma, a date, and an exponent

Lost 2 socks, about 1,000, on 2026-12-04, at -2.5C and 6e3 rpm.

2 1 000 2026 -12 -04 -2.5 6e3 The comma and the date hyphens are boundaries, not part of one number.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

The comma is not a thousands separator in this pattern. The match ends, and 000 is a new number.