I have a comment section and every comment shall be looped through and checked if there are strings in them starting with +. Those strings shall be converted to links. Butall my attempts didn't work. 

HTML:

```
//what it actually looks like
<p class="comment">A comment with +anything</p>
<p class="comment">A comment with +anything</p>
...
//what it actually looks like
<p class="comment">A comment with <a href="anything.html">+anything</a></p>
<p class="comment">A comment with <a href="anything.html">+anything</a></p>
...

```

jQuery:

```
$(".comment").each(function() {
    var comment = $(this).html();
    //check if any string in 'comment' starts with plus 
    //get new var for the plus string(s) 
    //if yes append and prepend necessary code for link 
    //change comment to comment with modified plus strings
    $(this).html(newcomment);
});

```