Remove Letters
Strip every letter from your text, keeping only digits, punctuation, and symbols. Unicode-aware.
0 characters
0 characters
About Remove Letters
The letter remover strips every character in the Unicode Letter category — ASCII letters, accented Latin, Greek, Cyrillic, Arabic, CJK, and so on. Digits, punctuation, symbols, and whitespace are preserved.
When to use it
- Extracting the numeric content from a mixed string
- Producing a 'shape' representation by removing all letters
- Stripping prose from a CSV column that mixes labels with numbers
- Preparing input for a numeric-only parser
How it works
The regex /\p{L}/gu matches any Unicode letter. All matches are removed; everything else stays.
Examples
Order #1234 cost $99.50 (paid on 2025-01-12).
#1234 $99.50 ( 2025-01-12).
Frequently asked questions
- Are non-Latin letters removed?
- Yes. Greek, Cyrillic, Arabic, Hebrew, CJK, and every other script's letters are in \p{L} and get stripped.
- Are digits and punctuation kept?
- Yes — only letters are removed. Spaces, digits, punctuation, symbols, and emoji all pass through.