PHP preg_replace()函數(shù)
提問人:劉團(tuán)圓發(fā)布時(shí)間:2021-01-13
函數(shù)語法:
mixed preg_replace (mixed pattern, mixed replacement, mixed subject [,int limit])
函數(shù)功能:該函數(shù)在字符串subject中匹配表達(dá)式pattern,并將匹配項(xiàng)替換成字串replacement。如果有參數(shù)limit,則替換limit次。
繼續(xù)查找其他問題的答案?
相關(guān)視頻回答
點(diǎn)擊加載更多評論>>