【发布时间】:2020-11-11 13:41:38
【问题描述】:
我有这个字符串:
$html = @'
<div><span style="display:inline !important;">As an Inventory and OperationsAgent</span></div><div><span style="display:inline !important;">I want to be able to raise internal EPL Nominations for Buildings that are going through a Shared Installation journey</span></div><div><span style="display:inline !important;">So that internal EPLNominations can be submitted when the TDF cost is too expensive for both P2P and Shared</span></div>
'@
...如何删除所有 HTML 标签?
【问题讨论】:
-
我需要作为 Inventory and OperationsAgent我希望能够为正在经历共享安装过程的建筑物提高内部 EPL 提名所以当 P2P 和共享的 TDF 成本太高时,可以提交内部 EPLNominations"
-
我需要删除这些类型的字符串和特殊字符。我只需要这样:作为一名库存和运营代理,我希望能够为正在经历共享安装过程的建筑物提高内部 EPL 提名。你能帮我尽快解决这个问题吗?我已重新格式化您的问题,请检查它确实是您想问的。如果没有,请edit your existing post 而不是使用 cmets :)