比如url(images/nan_bg_o.jpg)这是背景图的css写法,它的正则表达式如下VBScript codes=".x{background:url(images/nan_bg_o.jpg);}.xx{}.xxx{background: URL(images/nan_bg_oxx.jpg) ;}"set rx=new RegExprx.IgnoreCase=truerx.Global=truerx.Pattern="url\s*\(([^\)]+)\)"set mc=rx.Execute(s)for each m in mc response.Write "<pre>"&m.submatches(0)&"</pre>"nextset rx=nothing