5 540johanne497atkerson592 New Member Sep 14, 2012 #1 How do I remove extra spaces at the end of a string using regex (preg_replace)?\[code\]$string = "some random text with extra spaces at the end ";\[/code\]
How do I remove extra spaces at the end of a string using regex (preg_replace)?\[code\]$string = "some random text with extra spaces at the end ";\[/code\]