i need a loop to check if a string contains "\n".
var content = "Hello \n bob \n ben je op deze \n world \n bobert",
what i need is a javascript (node.js) script that checks the String content if it contains "\n" and if it does
it needs to split the on the "\n" char and then print it like this
<content>Hello </content><br />
<content>bob </content><br />
<content>ben je op deze </content><br />
<content>world </content><br />
<content>bobert</content><br />