-
-
Save guoxiangke/f0be0016b1daada3aaf9 to your computer and use it in GitHub Desktop.
匹配到最后一个括号里的内容 preg (
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[\((][\s\S]*[\))] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/style="(.*?)"/ 去除style="" of html element
//string regexstr = @"<[^>]>"; //去除所有的标签
//@"<script[^>]?>.*?</script>" //去除所有脚本,中间部分也删除