2015-07-20 698 views
-5

我有丰富的文字内容数据库富文本内容到Excel导出

<p> 
<strong>Hi This </strong><span style="text-decoration: underline;">is a sample 
</span> 
exampe 
<span style="text-decoration: underline;"> on how thing will be working</span> 
<span style="text-decoration: line-through;">from here</span> 
<span style="text-decoration: underline;">on in the new project</span> 
</p> 

从数据库中获取它之后,如何导出到Excel,使输出看起来像

嗨这是样品 exampe 如何的事情将在这里 在新项目的工作

回答

0

用记事本打开你的.rtf文件。

替换所有<p>没事

替换所有</p>;

另存为.csv

在Excel中打开