Search code examples
regexultraedit

How to find multi keys using regex in UltraEdit?


I only found I can find A or B in UltraEdit Help, http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/regular_expressions.html#or

^{A^}^{B^}  (A|B)   Matches expression A OR B.

Now I want to find A or B or C, how to do?


Solution

  • Currently UltraEdit only allows for the specification of two operands for an OR expression

    In theory, you could nest the expressions:

    ^{A^}^{^{B^}^{C^}} (A|(B|C)) Matches expression A OR (B OR C)

    but as I've never used UltraEdit, you'd have to try it yourself.