Template:Digits/doc

Usage
Removes all characters from string that are not a digit 0–9.

Examples
→ 12

→ 1234567

→ 123

→ 123