Split html tag to plain text

How to split the html tag? Into plain text …!
Can anyone tell my html tag is like
Assign =" <b color:“red”> hello"
Double quotes giving the error while assigning the value
In write line : System.Text.RegularExpressions.Regex.Replace(HTMLCode, “<[^>]*>”, “”)
Error in assign with double quotes…!

Hi,
Add like this “<b color: “” Red”">hello"

Let us know if this works,

Regards,
Pavan H

Hi @ravi_gupta,

Use single quotes inside the HTML tags

"<b color: 'Red'>hello"

Regards,
Arivu :slight_smile:

Html Tag will come from the mail body. using get
imap