\D matches any character that is not a digit as defined by \d
\D
\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.
[^0-9]
[^\d]
Date: 2025/05/01