For some reason, preg_replace("/\\n/", "<br />", $string); isn’t working.
The string outputs in this format: blah blah blah\nblah blah blah even after the preg replace.
I want to change if for a <br />.
nl2br() doesn’t work either, but as it’s just text, I wasn’t sure if it should.
The preg_replace function works on a word in the string. 🙁
Try this: