var result = str.replace(/<[^>]+>/g,'');
var str = '<p>приве<br><br />т</p>' var result = str.replace(/<[^>]+>/g,''); alert(result)