vkhu
09-14-2017, 05:55 AM
I'm writing a search & replace macro with this wildcard expression:
<[Hh]a[vesd]{1,}>
Basically, I want to find all forms of the word "have". The problem is that it will also find Hades, Hae, which are 2 names I have in the document.
First I tried to remove the capital "H" so it won't select the names, but then the capitalized "Have," "Had," etc. won't get selected. I then try to put commas in between the letters like so:
<[Hh]a[ve,s,d]{1,}>
But that doesn't work. Apparently, the commas are recognized as a character to find also. This is strange since the exclusion expression works with separators (eg. [!eg,19]). Does the range search use some other type of separator?
<[Hh]a[vesd]{1,}>
Basically, I want to find all forms of the word "have". The problem is that it will also find Hades, Hae, which are 2 names I have in the document.
First I tried to remove the capital "H" so it won't select the names, but then the capitalized "Have," "Had," etc. won't get selected. I then try to put commas in between the letters like so:
<[Hh]a[ve,s,d]{1,}>
But that doesn't work. Apparently, the commas are recognized as a character to find also. This is strange since the exclusion expression works with separators (eg. [!eg,19]). Does the range search use some other type of separator?