TextyConverterbeta
⌘K

Remove Numbers

Strip every digit from your text. Unicode-aware: removes ASCII digits and other Unicode numerals.

0 characters
0 characters

About Remove Numbers

The number remover strips every character in the Unicode Number category — ASCII 0–9 plus other numeral systems (Arabic-Indic, Devanagari, etc.). Letters, punctuation, and whitespace pass through unchanged.

When to use it

  • Producing a numeric-free version of an identifier or string
  • Cleaning up scraped data where digits are noise
  • Anonymizing text by removing dates and counts
  • Preparing a letters-only fingerprint of a string

How it works

The regex /\p{N}/gu matches anything in the Unicode Number category — ASCII digits and the equivalent in other numeral systems. All matches are removed.

Examples

I bought 3 apples for $4.99 on day 1.
I bought  apples for $. on day .

Frequently asked questions

Are non-ASCII digits removed?
Yes. Arabic-Indic numerals (٠-٩), Devanagari (०-९), and other script-specific digits are all in \p{N} and get stripped.
What about Roman numerals?
Roman numeral letters (I, V, X, L, C, D, M) are letters, not numbers in Unicode. They're kept. The dedicated Roman numeral characters (Ⅰ, Ⅱ, Ⅲ … U+2160+) are in \p{N} and removed.
Are decimal points and commas preserved?
Yes — only digits are removed. The text '$4.99' becomes '$.', leaving the period and dollar sign in place. To clean up the leftover punctuation, run the result through remove-punctuation.

Related tools