I am aware of nano\'s search and replace functionality, but is it capable of using regular expressions for matching and substitution (particularly substitutions
My version of nano has an option to swtich to regex search with the meta character + R. In cygwin on Windows, the meta-key is alt, so I hit ctrl+\ to get into search-and-replace mode, and then alt+r to swtich to regex search.