龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > php编程 >

正则提取style内容

时间:2014-07-22 14:50来源: 作者: 点击:
分享到:
preg_match_all(/style=([^]*+)/is, $html, $matches_style); br /
preg_match_all('/style="([^"]*+)"/is', $html, $matches_style);

preg_match_all('/style="([^"]*+)"/is', $html, $matches_style);
精彩图集

赞助商链接