Build, test, and debug regular expressions
This regex matches any occurrence of the words 'bat', 'cat', or 'fat' in a case-insensitive manner, due to the character class [bcf] and the 'i' flag. The 'g' flag makes it find all matches in a string, not just the first. It is useful for searching text for these specific three-letter words or variants in a case-agnostic way.