房天下 > 房天下问答 > 业主生活 > 其他
  • 如何用查找替换的方法删除中括号?

    如何用查找替换的方法删除中括号? 0分 [] 用\[\] \[*\] 似乎都不行啊? 如附件:Doc2.doc

    提问者:经典情人♂

    发布于2011-01-01

共1个回答
  • gjh628 丨Lv 0
    Sub Del() Dim Str$, oj As Object Str = ThisDocument.Content Set oj = CreateObject("ScriptControl"): oj.Language = "JScript" oj.Eval "function reg(str){return str.replace(/(\[|\])/g,'')}" ThisDocument.Content = oj.codeobject.reg(Str)End Sub
    +1 2011-01-01 举报
热门人气推荐
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。