regex search and replace for spaces, pass second test