Remove HTML Tag from string - HTML Stripper
HI,
I have a Rich Text field in a form with some content now I would like to extract the plain text from Rich text into multi line field . when I try to extract using deluge code it insert html code as well instead of plain text ..
like -- input.Multi_line = var.Rich_Text;
input :
- Rich_text = Beet.TV: Having spent more than 25 years on the sales side of the television business, Catherine Sullivan thinks AT&T’s new Xandr unit can leapfrog the industry.
output :
- Multi_line = <font size="2"><b>Beet.TV: </b><span style="color: rgb(64, 64, 64); font-family: Raleway, Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255)">Having spent more than 25 years on the sales side of the television business, Catherine Sullivan thinks AT&T’s new Xandr unit can leapfrog the industry. </span></font>
How can I remove all HTML tag so final output would be :
- Beet.TV: Having spent more than 25 years on the sales side of the television business, Catherine Sullivan thinks AT&T’s new Xandr unit can leapfrog the industry.
Thanks