[英]Rich text content to excel export
我有一个富文本内容到数据库
<p>
<strong>Hi This </strong><span style="text-decoration: underline;">is a sample
</span>
example
<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,使输出看起来像
嗨,这是一个示例示例,说明从现在开始在新项目中的工作方式
用记事本打开.rtf
文件。
将所有<p>
替换为空
将所有</p>
替换为;
另存为.csv
用excel打开
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.