关于正则表达式中的g的含义 dzwfeng · 2007-11-22 09:25 · javascript知识 · 正则表达式 · Markdown [color=red]g /global 代表全局搜索 i /ignore 代表忽略大小写 gi: 以上组合 [/color] 例子: