I have the following string. I want to replace the line break with /n
Good FRIENDS are hard to find, harder to leave,
Have you tried str_replace?
str_replace("", "\n", $your_string);