Searching Google docs with Regular Expressions

I needed to remove carriage returns from a Google doc. The best way I found was by using a regular expression. In the Find box I used [\n] which found all returns. I used a blank space in the Replace with box.