The Serial monitor has nothing to do with it. Your sketch needs to recognise the \n in the String and print a Newline at that point
Read each character in the String and print it until you get a backslash. Do not print it. If the next character is a "n" then do not print it, print a Newline instead