次の文字列からHTMLタグを削除するにはどうすればよいですか?文字列のHTMLタグを削除する
<P style="MARGIN: 0cm 0cm 10pt" class=MsoNormal><SPAN style="LINE-HEIGHT: 115%;
FONT-FAMILY: 'Verdana','sans-serif'; COLOR: #333333; FONT-SIZE: 9pt">In an
email sent just three days before the Deepwater Horizon exploded, the onshore
<SPAN style="mso-bidi-font-weight: bold"><b>BP</b></SPAN> manager in charge of
the drilling rig warned his supervisor that last-minute procedural changes were
creating "chaos". April emails were given to government investigators by <SPAN
style="mso-bidi-font-weight: bold"><b>BP</b></SPAN> and reviewed by The Wall
Street Journal and are the most direct evidence yet that workers on the rig
were unhappy with the numerous changes, and had voiced their concerns to <SPAN
style="mso-bidi-font-weight: bold"><b>BP</b></SPAN>’s operations managers in
Houston. This raises further questions about whether <SPAN
style="mso-bidi-font-weight: bold"><b>BP</b></SPAN> managers properly
considered the consequences of changes they ordered on the rig, an issue
investigators say contributed to the disaster.</SPAN></p><br/>
私はAsponse.PDFに書きますが、HTMLタグはPDFに表示されています。どうすれば削除できますか?
私はあなたがタグをエスケープするためにHTMLエンコードする必要が – jvm
動作しませんでした、HTMLDecodeを試してみました。 – Joe
タグを削除するか、書式を適用しますか? – SLaks