Ben West wrote:
good call on the manual bit -- only once? what do I need to implement multiple find/replace?
2. \r and \n are never matched because regular expression searches are made line per line (stripped of end-of-line chars).
So, don't expect to match line break characters, nor using anything like JavaScript RegExp's /m flag! ;)