如何从html文件中获取richtextbox中的plaintxt? [英] How to get plaintxt in richtextbox from a html file?

查看:51
本文介绍了如何从html文件中获取richtextbox中的plaintxt?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的富文本框中获取html文件(由我制作的模板文件)内容,但是标签也会出现,所以如何删除这些标签。

我只需要文本,但标签也来了。

I am trying to get the html file(template file made by me) content in my rich text box, however the tags are also coming so how can I remove those tags.
I only need the text but tags are also coming.

推荐答案

参考 - 扩展的RichTextBox,用于保存和加载HTML lite文件 [ ^ ]。


谢谢求助。

现在,我的富文本框中有文字,但它包含html标签,所以如何删除html标签。
Thanks for the help.
Now, I have the text in my rich text box but it includes the html tags so how can I remove html tags.


这篇关于如何从html文件中获取richtextbox中的plaintxt?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆