php正则表达式基础,及简单示例 2011 年 11 月 4 日 · PHP知识积累 · 约 3 分钟 匹配规则 '/[]/' $str //匹配$str中的每个字符 '/[][]/' $str //匹配$str中的每两个字符 '/[][][]/' $str //匹配$str中的每三个字符 P