GeoEvent RegEx Filter to Find a Case-Insensitive Word?

2283
1
Jump to solution
11-13-2015 07:32 AM
Highlighted
Occasional Contributor II

Hi,

I have following Filter with a 'MATCHES' clause:

.*Hospit[tal|ality].*

This one corect catches words like 'Hospital' or 'Hospitality' but it is case sensitive. I need to be able to catch words like 'hospital' etc. So I tried this:

.*Hospit[tal|ality]/i.*

But it is not working--the output is zero.  Any idea?

Thanks!

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Occasional Contributor II

Never mind! I think I got it:

(?i).*hospi[tal|tality|tals].*

HTH.

View solution in original post

Reply
0 Kudos
1 Reply
Highlighted
Occasional Contributor II

Never mind! I think I got it:

(?i).*hospi[tal|tality|tals].*

HTH.

View solution in original post

Reply
0 Kudos