BILINGUAL WORD CARD · RANK 75

\d (digit)

🔢 Regex shorthand matching any digit 0–9

Matches any decimal digit in regex.

中文对照 · Chinese

🔢 专门吸住数字 0–9 的磁铁

在正则表达式中相当于 `[0-9]`,加号 `\d+` 表示连续多个数字。

Code example

re.findall(r'\d+', 'Sec 1 has 32 kids')
Explore 100 bilingual word cards →