$Str = _
'</div><iframe width="760" height="1020" frameborder="0" scrolling="no" src="http://w1.garden.6waves.com/flash.php?ver=7.5.4&binver=7.5.4&swfver=7.5.3&token=d0cf4dd4c25a36d47089ff60301d67&tracerurl=http://twtracer.gametrees.com/tracer.php&loadingpic=http://img.garden.6waves.com/tw/images/loading/3.jpg&localsitepath=http://w1.garden.6waves.com/&fb_sig_in_iframe=1&fb_sig_iframe_key=34173cb38f07f89ddbebc2ac9128303f&fb_sig_base_domain=6waves.com&fb_sig_locale=zh_TW&fb_sig_in_new_facebook=1&fb_sig_time=1283180.64&fb_sig_added=1&fb_sig_profile_update_time=1258386&fb_sig_expires=128318000&fb_sig_user=10006755&fb_sig_session_key=2.kfP4ifSIiOxzXtSSZpQ__.3600.1283184000-100000422755&fb_sig_ss=FbfgqunvtNMxgNrNSMg__&fb_sig_cookie_sig=a9855b7f3c6043e15db7d&fb_sig_country=cn&fb_sig_api_key=6abd44b201f2cf600cfb32bda21&fb_sig_app_id=46051079&fb_sig=73385213cecfa8547" name="fb_iframe_4c7bc6949cdecaa2ef3"></iframe><script type="text/javascript">FB_RequireFeatures(["CanvasUtil"], function(){FB.XdComm.Server.init("/xd_receiver_v0.4.php");FB.IFrameUtil.CanvasUtilServer.run(false, "fb_iframe_4c7bc6949cd0caa2ef3");onloadRegister(function() {FBPay.registerServiceForIFrame();});});</script>' & @CRLF & _
'<script type="text/javascript">'
Msgbox(0, '原字符串', $str)
$str = StringRegExpReplace($str, '(?s).+?src="([^"]+)".+', '$1')
Msgbox(0, '替换后', $str)
$str = StringRegExpReplace($str, '&', '')
Msgbox(0, '删除&', $str)
|