Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exclude from search
#1
Hi there!

How can i exclude someting from a search?

Like apple and orange has to be found but apple.100 apple.200 not

I'm using a findrx to search

Any possible way to manage this i tried to include a orange|apple(?!.100|.200) but nothing is found anymore.

Any ideas

TIA
#2
Append "not followed by" regular expression.
#3
I thought i did that,

The helpfile says:

foo(?!bar)

matches any occurrence of "foo" that is not followed by "bar". Note that the apparently similar pattern

So my stupidity says that now apple is found and if .100 / .200 followed than it is not.... or am i wrong?

Do you mean something else?
#4
post your RX code here and let's have a look.
An old blog on QM coding and automation.

The Macro Hook


Forum Jump:


Users browsing this thread: 1 Guest(s)