看板
[ PHP ]
討論串[請益] 正規化表示法擷取html
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
要不要用其他工具?. 如果是 parsing HTML,可以用 DOMDocument:. $htmlDom = new DOCDocument();. $htmlDom->loadHTML($HtmlString);. $h1 = $htmlDom->getElementsByTagName('h
(還有45個字)
內容預覽:
------------------以下是html------------------. ...</div><h1>字串1</h1><div>...</div><div class="aff">. <h3 class="label">Source</h3><p>字串2</p></div>. <div
(還有141個字)
首頁
上一頁
1
下一頁
尾頁