Google. Facebook. jQuery remove tag from HTML-String. Ask Question.and a lot of other stuff with remove(), not(), etc. but nothing worked. Any suggestions? I could match the string with regex, but I prefer a common jQuery solution. My objective is to remove the
s. I could have done this using regex, but thats rather not recommended.3 Solutions collect form web for Remove HTML Tags From A String, Using jQuery. how can I get the inner HTML value of an HTML tag that is IN A STRING (not DOM) using jQuery or Prototype? I have HTML in a string returned by an ajax call. I would like to get the value of an element like I would with a normal selector: (mydiv), not by regex. This tip shows you how to replace HTML tags from text/string using Regular expression. Using the Code.To remove all kind of tags -- suggested by codeproject member svella string str2 Regex.Replace(input, ", string.