正则表达式主要依赖preg_match、preg_match_all和preg_replace三个函数。1.preg_m...