正则表达式修饰符:[0-9]
在文本 "W3School has been live since 2006" 中,有多少个数字?
5
匹配到的位置如下:
W#School has been live since ####
(每个匹配项被替换为 # 字符)