preg_replace ( ) 和  preg_match_all ( ) 是兩個用法相反的字串替換函數;

preg_replace ( )      --------   去掉字串中不需要的部分,取其他部分;

preg_match_all ( )   --------  取字串中需要的部分,其他部分去掉;

arrow
arrow
    全站熱搜

    正義的胖虎 發表在 痞客邦 留言(0) 人氣()