Test, validate and match regular expressions
This regex matches obfuscated variants of the word 'pedophile' using leetspeak and special character substitutions, such as p3d0phile, p*d*phile, or p3d0fila. It is designed for automoderation systems to detect and flag harmful or predatory content in user-generated text, even when the author attempts to evade filters with character substitutions. The pattern allows flexibility in the middle and ending while maintaining a word boundary to avoid matching substrings in longer words.