I'm trying to check first is mystring contains any html tag. If it contains Html tag then I want to remove those tag.
var mystring = "<div>Lorem ipsum dolor sit<p> amet, consectetur </p><p>adipiscing elit. Integer ut euismod magna, nec ullamcorper erat.</p></div>"
from above string I need to remove all html tag and also . I'm new for these so. Please suggest something