看板 [ PHP ]
討論串[請益] 正規化表示法擷取html
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者DarkKiller (System hacked)時間14年前 (2011/11/23 16:51), 編輯資訊
0
0
0
內容預覽:
要不要用其他工具?. 如果是 parsing HTML,可以用 DOMDocument:. $htmlDom = new DOCDocument();. $htmlDom->loadHTML($HtmlString);. $h1 = $htmlDom->getElementsByTagName('h
(還有45個字)

推噓0(0推 0噓 7→)留言7則,0人參與, 最新作者o500521 (poet)時間14年前 (2011/11/22 21:48), 編輯資訊
0
0
0
內容預覽:
------------------以下是html------------------. ...</div><h1>字串1</h1><div>...</div><div class="aff">. <h3 class="label">Source</h3><p>字串2</p></div>. <div
(還有141個字)
首頁
上一頁
1
下一頁
尾頁