Regex char atau char

//check if have "i" or "o"
/i|o/.test(var)
GutoTrosla