regex expression to search for a character in a word code example Example: regex for entire word /\b(word)\b/i