I am using this pattern to match words in string.
$regExPattern.="(?=.*\\b($w)\\b)";
The problem is when I search can