in reply to Re^3: REGEX detailed character replace
in thread REGEX detailed character replace
My goal wasn't to golf, but to provide a reasonable solution (as seen by my corruption of the OP's intent of "one line".) I don't think the extra complexity is warranted.