Hi I have a html snippet that looks like `*hi<br>*hello<br/>*test<br />`

I want this to be preformatted using javascript as 

```
*hi<br>
*hello<br/>
*test<br />

```

Is there a regular expression and javascript to do this.