jakee and zz done.<p>zzz</p> <p style=\"text-align: center;\" align=\"justify\">==TUIGUANG===</p>\n<p align=\"justify\"><img style=\"width: auto;\" src=\"https://imag.xxxx.com/b931035c-5bf2-4553-9593-07480f74a5c6.png\" /></p> this should not dispeared <p>ALL MY ...</p> <p > See you</p> behan
<p style=\"text-align: center;\" align=\"justify\">==TUIGUANG===</p>
<p>zzz</p> <p style=\"text-align: center;\" align=\"justify\">==TUIGUANG===</p>
In [11]: r = re.search('<p\ .*?TUIGUANG.*?</p>', 'jakee and zz done.<p>zzz</p> <p style=\"text-align: center;\" align=\"justify\">==TUIGUANG===</p>\n<p align=\"justify\"><img style=\"width: auto;\" src=\"https://imag.xxxx.com/b931035c-5bf2-4553-9593-07480f74a5c6.png\" /></p> this should not dispeared <p>ALL MY ...</p> <p > See you</p> behan')
In [12]: r.group()
Out[12]: '<p style="text-align: center;" align="justify">==TUIGUANG===</p>'
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |