刪除&NBSP我需要更換由'單一空間   
這是我的字符串如何從字符串
To Everything There is a Season For everything there is a season, and a time for every purpose under heaven:
它應該是這樣的
To Everything There is a Season For everything there is a season, and a time for every purpose under heaven
沒有嘗試'str_replace'? – Thamilan
我試過preg_replace它在我的本地但不是在服務器中刪除 –
嘗試'str_replace'這是解決這個問題的最好方法。 –