How do you execute a regular expression in Excel?

后端 未结 2 1622
借酒劲吻你
借酒劲吻你 2020-12-11 12:09

I am trying to use the following expression to locate a pattern of text in my Excel data. The goal is to then remove the text once it is located.

/.([0-9]+[]?x[]

2条回答
  •  既然无缘
    2020-12-11 13:16

    You didn't specify it but I assumed it was using a VBA macro. i don't think you can do regular expression directly in the sheet using formula.

    The following link should help you with regular expression and VBA:

    http://www.regular-expressions.info/vb.html

    Just be sure to add the correct reference "Microsoft VBScript Regular Expressions 5.5"

    Hope this help

提交回复
热议问题