re

02.03 Matching Non-Digits

\D matches any character that is not a digit as defined by \d

[^0-9], which is the same as [^\d], is a negated range, meaning that it will match any character that is not a digit.


Date: 2025/05/01