Break string with space or any special character in PHP