Question

RegEx in fulltext search?

  • 7 February 2022
  • 2 replies
  • 85 views

Userlevel 4
Badge +8

I want to search an absolute windows path name to NOT start with A, B, C drive letters.

 

I tried queries like this: 

path in ['[D-Z]:\\*']

but this doesnt work. Any ideas?


2 replies

A viable workaround is to use the regex process to put it into a new field and check that it as populated like this:

path=* | process regex("(?P<path_out>[D-Z]:\\.*?)",path) | filter path_out=*

 

/Lau

Userlevel 2

I want to search an absolute windows path name to NOT start with A, B, C drive letters.

 

I tried queries like this: 

path in ['[D-Z]:\\*']

but this doesnt work. Any ideas?

a quick way ;) 
-path="A:*" -path="B:*" -path="C:*"

-Kai

 

Reply