A K R
Posts: 0
Joined: Mon Sep 22, 2014 6:06 am

Advance search

the above code is case sensitive how can i make it case insensitive

A K R
Posts: 0
Joined: Mon Sep 22, 2014 6:06 am

Advance search

the above code is case sensitive how can i make it case insensitive

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Advance search

Hi AKR,

You can use regEx with options: "i" instead of direct value:

For example:

pre

{"westlothian": {"$regex": westlothian, "$options":"i"} },

/pre

Regard.

Tavonia Evans
Posts: 0
Joined: Thu Sep 24, 2015 11:19 am

Advance search

how did you implement this? I need to do the same thing. Where do you add this in the where ?

Return to “Issues”