php刪除特定字串的方法:先建立一個PHP範例檔案;然後使用「str_replace」函數或「preg_replace」函數將指定字串替換為空即可刪除特定字串。 推薦:《PHP影片教學》可以使用str_replace函數或preg_replace函數將指定字串替換為空,也就是說刪除掉指定字串: