📌  相关文章
📜  正则表达式重复相同的数字 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:06.099000             🧑  作者: Mango

代码示例1
\b(\d)\1+\b

Explanation:

\b   # match word boundary
(\d) # match digit remember it
\1+  # match one or more instances of the previously matched digit
\b   # match word boundary