Qurak

Remove tags from imported HTML

範例 共 1 個步驟,在同一個工作階段中依序執行。每一步都在引擎上實際執行過,下方的輸出就是它產生的結果。

步驟 1
StringReplace[
  "<title>The Title</title>
<h1>The <a href='link'>head</a></h1>
<p>Some text follows here...</p>", "<" ~~ Except[">"].. ~~ ">" -> ""]
輸出
The Title
The head
Some text follows here...

使用到的函式

相關的操作範例

所有操作範例 · 函式參考 · 從 MCP 用戶端使用這個