2004年02月25日 星期三 11:07
HI ALL: <%=b.getAzdw()%>"> 我只保留<%=b.getAzdw()%>其他的删除,该如何写呢?并且有很多这样的input框,<%=%>里的内容都是不同的,我如何保留<%=xxx%>而删除其他的? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 网易VIP收费邮箱两周年超值优惠! 满1赠6!! http://vip.163.com 中国最大的免费邮箱在等你 25兆空间4兆附件! http://mail.163.com 点击网易泡泡惊喜无限 全免费手机短信任你发! http://popo.163.com
2004年02月25日 星期三 11:17
Hello slackgg,
try this?
re_match_dyna=re.compile(
r"""(<%=\s+.*?%>)
""",
re.IGNORECASE |
re.DOTALL |
re.VERBOSE)
=== [ 11:07 ; 04-02-25 ] you wrote:
s> HI ALL:
s> <%=b.getAzdw()%>">
s> 我只保留<%=b.getAzdw()%>其他的删除,该如何写呢?并且有很多这样的input框,<%=%>里的内容都是不同的,我如何保留<%=xxx%>而删除其他的?
s> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
s> 网易VIP收费邮箱两周年超值优惠! 满1赠6!! http://vip.163.com
s> 中国最大的免费邮箱在等你 25兆空间4兆附件! http://mail.163.com
s> 点击网易泡泡惊喜无限
s> 全免费手机短信任你发! http://popo.163.com
=== === === === === === === === === ===
--
Best regards,
Zoom.Quiet
/=======================================\
]Time is unimportant, only life important![
\=======================================/
Zeuux © 2025
京ICP备05028076号