0
這裏就是我使用簡單的HTML DOM中提取的數據中的原始的代碼:我怎樣才能從所述圖像提取路徑<RI:附件RI:文件名=「故事-IMG-05.png」 />
<div class="content-wrapper"><p><ac:image ac:height="250"><ri:attachment ri:filename="stories-img-05.png" /></ac:image></p></div>
這裏是我使用的代碼:
$html->find('div[class=content-wrapper] p ac:image ', 0)->innertext;
我怎樣才能得到圖像路徑?
這是JS,分享它的更多細節。 –
我需要PHP的解決方案 –
@NigSysTechnologies $ re ='/ri:filename="(.*)".*\/>/'; \t \t $ str ='