var reg=/<\/?([^<(br)>]+)>/g; alert('<p>asdfasdf</p> <br> <b>asfaf</b> <strong>adfadfad </strong>'.replace(reg,''));