正则表达式修饰符:[A-Z]
在文本 "Welcome to W3School" 中,有多少个字母在大写 "A" 和大写 "Z" 之间?
3
匹配到的位置如下:
#elcome to #3#chool
(每个匹配项被替换为 # 字符)