I have a string like below:
[quote="username"]This is a comment string[/quote]
Pattern 1: username Pattern 2: This is a comment string
Is it possible to replace this to get:
<div class="myclass">
<b>username</b>
<i>This is a comment string</i>
</div>
Thanks.