首页  >  文章  >  后端开发  >  正则提取style内容

正则提取style内容

WBOY
WBOY原创
2016-07-25 09:02:171337浏览
preg_match_all('/style="([^"]*+)"/is', $html, $matches_style);
  1. preg_match_all('/style="([^"]*+)"/is', $html, $matches_style);
复制代码


声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn