In the function below, I want to match the keyword case insensitive (should match \"Blue Yoga Mats\" and \"blue yoga mats\")...
However, it currently only matches if the
Add the "i" modifier to your regexp:
/\b($mykeyword)\b/i