28,391
社区成员
发帖
与我相关
我的任务
分享
<body>
<textarea name="kk" id="kk" rows="10" cols="50">:<div class="acs-flowform-field acs-flowform-field-edit" _nodup="30804" readonly="E" flag="{04}" refid="BankPay$Remark">备注备注备注备注</div></textarea>
<script type="text/vbscript">
<!--
Set oRe = New RegExp
oRe.Pattern = "<div class=""acs-flowform-field acs-flowform-field-edit""[^>]+>([\s\S]+)</div>"
oRe.Global = True
oRe.IgnoreCase = True
Set Matches = oRe.execute(document.getElementById("kk").value)
MsgBox Matches(0).submatches(0)
MsgBox oRe.Replace(document.getElementById("kk").value,"")
//-->
</script>
</body>