Test, validate and match regular expressions
Matches the word 'pharmafia' in obfuscated forms to evade simple filters. It allows leetspeak substitutions (4 for 'a', 1 for 'i'), an optional underscore or hyphen between 'phar' and 'mafia', and any letter casing via the i flag. Commonly used in content moderation or spam detection systems to flag references to the 'pharma mafia' even when users attempt to bypass keyword filters, with g and m flags enabling matching across multiple lines.