位置:首頁 > 軟件操作教程 > 編程開發(fā) > PHP > 問題詳情

PHP preg_replace()函數(shù)

提問人:劉團(tuán)圓發(fā)布時間:2021-01-13

    函數(shù)語法:

    mixed preg_replace (mixed pattern, mixed replacement, mixed subject [,int limit])

    函數(shù)功能:該函數(shù)在字符串subject中匹配表達(dá)式pattern,并將匹配項替換成字串replacement。如果有參數(shù)limit,則替換limit次。

繼續(xù)查找其他問題的答案?

相關(guān)視頻回答
回復(fù)(0)
返回頂部