Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9628

Remove HTML / CSS tags in Google Sheets

$
0
0

Can anyone help me remove all of the html/csss tagging found in this Google Sheet?

This is an example but I'd like to create a template where I can input the html/css formatted text and output just the standard text without any associated tagging (ie <p>, href, rgb 255, etc).

I want to remove all of the tagging. I've tried using REGEXREPLACE but am having trouble removing all of the formatting completely.

I have tried using =REGEXREPLACE(A2,"<[^<>]+>","") but if numbers are entered in the input column, the output returns an #VALUE! error.

In addition, some of the html is still not removed such as the "&nbsp" tags in the output. The words are also not be spaced apart either. Everything would come through as one blob of text especially when names and email addresses are entered together

Do I need to add something else to the =REGEXREPLACE(A2,"<[^<>]+>","") formula?

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 9628

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>