I need to extend on the regex below so that it also selects <code> tags with a class, e.g. <code class="lol">

```
var text = 'This is <i>encoded text</i> but this is <b>bold</b >!';
var html = $('<div/>')
    .text(text)
    .html()
    .replace(new RegExp('&lt;(/)?(b|i|u)\\s*&gt;', 'gi'), '<$1$2>');

```

Can anyone please help?

I'm guessing something like `&lt;(/)?(b|i|u|code|pre)?( class="")\\s*&gt;` ??

Many thanks