####Replace all "\r\n" with "\n" 这是一个演示脚本 This is a demon me=MadEdit() res = me.ReplaceTextAll("\\r\\n", "\\n", True, False, False) res = me.ReplaceTextAll("\\n\\n", "\\n", True, False, False)