Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-06-27 01:20
Flavor·Python

r"
^[p][h][4a][r][_\-]?[m][4a][f][i1][4a]$
"
gmi
Open regex in editor

Description

Useful for forum moderators looking to flag variations of the word "pharmafia" in comments. captures the following variations: pharmafia ph4rm4f14 phar_mafia phar-mafia

Submitted by tychopotts