i'm trying whole the time to replace such strings:
<title id="hello">my title </title>
<title >my title </title>
<title id="hello" class="blue">my title </title>
i need regex, which replace text between title-tags, undepend attributes. sadly i get only second example with this regex:
str.replace(/<\/?title>/g,'')
Has anybody ideas?