How to find and replace text in nano:
Ctrl \
Enter your search term [press return]
Enter your replacement term [press return]
A [to replace all instances]
Thanks to http://www.chrisnewland.com/find-and-replace-with-nano-47