Copy and Paste adds symbol in Calc

When I copy text into the find or find/replace it adds a carriage return symbol at the end of the text. How can I turn this off? It happens if I copy text from a cell or when copying in text from notepad or webpage etc… I cannot find any option to turn special characters off in the calc.

Thanks.