What slashes are being added? We probably need an example of your code and output to determine why slashes are appearing.
To replace <br> with \n, the simplest function is str_replace(). This is fast, but works only on exact matches. Regular Expresion replacement is more flexible and "smarter" (but I'm no good at it so I won't offer a ereg_replace() solution).