Home > php教程 > php手册 > 正则表达式中/i,/g,/ig,/gi,/m的区别和含义,iggi

正则表达式中/i,/g,/ig,/gi,/m的区别和含义,iggi

WBOY
Release: 2016-06-13 08:50:03
Original
1445 people have browsed it

正则表达式中/i,/g,/ig,/gi,/m的区别和含义,iggi

正则表达式中/i,/g,/ig,/gi,/m的区别和含义

/i (忽略大小写)
/g (全文查找出现的所有匹配字符)
/m (多行查找)
/gi(全文查找、忽略大小写)
/ig(全文查找、忽略大小写)
Copy after login


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template