given the following string:
var htmlStr = '<p class="red_349dsa01">This is</p><p class="blue_saf9vsaz">a test</p>';
how can I remove the very first and last tag off this string? This would be the result:
var htmlStr = 'This is</p><p class="blue_saf9vsaz">a test';
I know this will create invalid HTML, but I just want to know if this can be done at all.