$txt=a href=vodplay328295-1-1html class=play-btn icon-btn使用php正则匹配获得vodplay328295-1-1html
$txt=''; preg_match('/href="([^"]*)"/', $txt, $matches); echo $matches[1];
// Output: /vodplay/328295-1-1.html
原文地址: https://www.cveoy.top/t/topic/fzdF 著作权归作者所有。请勿转载和采集!