regex how to include chars code example Example: regex char or char //check if have "i" or "o" /i|o/.test(var)