I have my html
<div class="comment-details">Hello @samplename This is my comment</div>
...
...
More .comment-details elements
On page load, I wanted to find this @samplename inside .comment-details class using .each() loop and insert it on <a href="samplelink"></a> tag in jQuery or Javascript
I wanted something like this after page load:
<div class="comment-details">Hello <a href="samplelink">@samplename</a> This is my comment</div>
