Remove all hyperlinks and tables from RTF using c#
I have a Winform RichTextBox to which I am programatically loading RTF
documents. But I want to strip/remove all hyperlinks and tables from the
RTF before loading the RTF into the RichTextBox ( but needs to keep the
formatting). Same behavior I need for RTF texts copied from MS Word also.
How do I achive this? Are there any library to parse the RTF and strip
hyperlinks and tables (still keeping the formatting) ?
No comments:
Post a Comment