Page 1 of 1

How to exclude a string form a search result

Posted: Wed Dec 02, 2020 1:41 pm
by sami
Hi,
I would like to use TextCrawler to search for a string but ignore/exclude an other string from the result.

Example:
Look for "admin"
But not for "administrator" and "administration"

Thanks in advance for your help !

Re: How to exclude a string form a search result

Posted: Mon Dec 14, 2020 11:52 am
by DigitalVolcano
You'd need to use a slightly more complex regular expression, which negative lookahead-
See-
https://stackoverflow.com/questions/207 ... ord-string