Home  >  Article  >  Backend Development  >  Regularly extract style content

Regularly extract style content

WBOY
WBOYOriginal
2016-07-25 09:02:171335browse
preg_match_all('/style="([^"]*+)"/is', $html, $matches_style);
  1. preg_match_all('/style="([^"]*+)"/is', $html, $matches_style);
Copy code


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Unzip zip onlineNext article:Unzip zip online