Skip to content

Instantly share code, notes, and snippets.

@loretoparisi
Last active September 15, 2018 20:44
Show Gist options
  • Save loretoparisi/6da12e791d5325cd6bfd88bb13c4b84f to your computer and use it in GitHub Desktop.
Save loretoparisi/6da12e791d5325cd6bfd88bb13c4b84f to your computer and use it in GitHub Desktop.
combined regex for bad words match
[ /(cash[.,;:']?\s*[.!?]?\s*up[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you)/,
/(up[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*aint)/,
/(nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*aint[.,;:']?\s*[.!?]?\s*got)/,
/(my[.,;:']?\s*[.!?]?\s*cash[.,;:']?\s*[.!?]?\s*up[.,;:']?\s*[.!?]?\s*nigga)/,
/(cash[.,;:']?\s*[.!?]?\s*up[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you)/,
/(up[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*aint)/,
/(nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*aint[.,;:']?\s*[.!?]?\s*got)/,
/(for[.,;:']?\s*[.!?]?\s*a[.,;:']?\s*[.!?]?\s*ransom[.,;:']?\s*[.!?]?\s*nigga)/,
/(a[.,;:']?\s*[.!?]?\s*ransom[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*i)/,
/(ransom[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*aint)/,
/(nigga[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*aint[.,;:']?\s*[.!?]?\s*put)/,
/(the[.,;:']?\s*[.!?]?\s*issue[.,;:']?\s*[.!?]?\s*young[.,;:']?\s*[.!?]?\s*nigga)/,
/(issue[.,;:']?\s*[.!?]?\s*young[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*with)/,
/(young[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*with[.,;:']?\s*[.!?]?\s*a)/,
/(nigga[.,;:']?\s*[.!?]?\s*with[.,;:']?\s*[.!?]?\s*a[.,;:']?\s*[.!?]?\s*chip)/,
/(bunch[.,;:']?\s*[.!?]?\s*of[.,;:']?\s*[.!?]?\s*it[.,;:']?\s*[.!?]?\s*nigga)/,
/(of[.,;:']?\s*[.!?]?\s*it[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*i)/,
/(it[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*like)/,
/(nigga[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*like[.,;:']?\s*[.!?]?\s*throwing)/,
/(bunch[.,;:']?\s*[.!?]?\s*of[.,;:']?\s*[.!?]?\s*em[.,;:']?\s*[.!?]?\s*nigga)/,
/(of[.,;:']?\s*[.!?]?\s*em[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*im)/,
/(em[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*im[.,;:']?\s*[.!?]?\s*making)/,
/(nigga[.,;:']?\s*[.!?]?\s*im[.,;:']?\s*[.!?]?\s*making[.,;:']?\s*[.!?]?\s*this)/,
/(keep[.,;:']?\s*[.!?]?\s*it[.,;:']?\s*[.!?]?\s*100[.,;:']?\s*[.!?]?\s*nigga)/,
/(it[.,;:']?\s*[.!?]?\s*100[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*now)/,
/(100[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*now[.,;:']?\s*[.!?]?\s*im)/,
/(nigga[.,;:']?\s*[.!?]?\s*now[.,;:']?\s*[.!?]?\s*im[.,;:']?\s*[.!?]?\s*going)/,
/(their[.,;:']?\s*[.!?]?\s*hands[.,;:']?\s*[.!?]?\s*out[.,;:']?\s*[.!?]?\s*nigga)/,
/(hands[.,;:']?\s*[.!?]?\s*out[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you)/,
/(out[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*wasnt)/,
/(nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*wasnt[.,;:']?\s*[.!?]?\s*around)/,
/(my[.,;:']?\s*[.!?]?\s*cash[.,;:']?\s*[.!?]?\s*up[.,;:']?\s*[.!?]?\s*nigga)/,
/(cash[.,;:']?\s*[.!?]?\s*up[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you)/,
/(up[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*aint)/,
/(nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*aint[.,;:']?\s*[.!?]?\s*got)/,
/(for[.,;:']?\s*[.!?]?\s*a[.,;:']?\s*[.!?]?\s*ransom[.,;:']?\s*[.!?]?\s*nigga)/,
/(a[.,;:']?\s*[.!?]?\s*ransom[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*i)/,
/(ransom[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*aint)/,
/(nigga[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*aint[.,;:']?\s*[.!?]?\s*put)/,
/(a[.,;:']?\s*[.!?]?\s*check[.,;:']?\s*[.!?]?\s*my[.,;:']?\s*[.!?]?\s*nigga)/,
/(check[.,;:']?\s*[.!?]?\s*my[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you)/,
/(my[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*here)/,
/(nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*here[.,;:']?\s*[.!?]?\s*shooting)/,
/(my[.,;:']?\s*[.!?]?\s*cash[.,;:']?\s*[.!?]?\s*up[.,;:']?\s*[.!?]?\s*nigga)/,
/(cash[.,;:']?\s*[.!?]?\s*up[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you)/,
/(up[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*aint)/,
/(nigga[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*aint[.,;:']?\s*[.!?]?\s*got)/,
/(for[.,;:']?\s*[.!?]?\s*a[.,;:']?\s*[.!?]?\s*ransom[.,;:']?\s*[.!?]?\s*nigga)/,
/(a[.,;:']?\s*[.!?]?\s*ransom[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*i)/,
/(ransom[.,;:']?\s*[.!?]?\s*nigga[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*aint)/,
/(nigga[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*aint[.,;:']?\s*[.!?]?\s*put)/,
/(all[.,;:']?\s*[.!?]?\s*the[.,;:']?\s*[.!?]?\s*hoes[.,;:']?\s*[.!?]?\s*say)/,
/(the[.,;:']?\s*[.!?]?\s*hoes[.,;:']?\s*[.!?]?\s*say[.,;:']?\s*[.!?]?\s*im)/,
/(hoes[.,;:']?\s*[.!?]?\s*say[.,;:']?\s*[.!?]?\s*im[.,;:']?\s*[.!?]?\s*handsome)/,
/(up[.,;:']?\s*[.!?]?\s*all[.,;:']?\s*[.!?]?\s*the[.,;:']?\s*[.!?]?\s*hoes)/,
/(all[.,;:']?\s*[.!?]?\s*the[.,;:']?\s*[.!?]?\s*hoes[.,;:']?\s*[.!?]?\s*say)/,
/(the[.,;:']?\s*[.!?]?\s*hoes[.,;:']?\s*[.!?]?\s*say[.,;:']?\s*[.!?]?\s*im)/,
/(hoes[.,;:']?\s*[.!?]?\s*say[.,;:']?\s*[.!?]?\s*im[.,;:']?\s*[.!?]?\s*handsome)/,
/(up[.,;:']?\s*[.!?]?\s*all[.,;:']?\s*[.!?]?\s*the[.,;:']?\s*[.!?]?\s*hoes)/,
/(all[.,;:']?\s*[.!?]?\s*the[.,;:']?\s*[.!?]?\s*hoes[.,;:']?\s*[.!?]?\s*say)/,
/(the[.,;:']?\s*[.!?]?\s*hoes[.,;:']?\s*[.!?]?\s*say[.,;:']?\s*[.!?]?\s*im)/,
/(hoes[.,;:']?\s*[.!?]?\s*say[.,;:']?\s*[.!?]?\s*im[.,;:']?\s*[.!?]?\s*handsome)/,
/(up[.,;:']?\s*[.!?]?\s*all[.,;:']?\s*[.!?]?\s*the[.,;:']?\s*[.!?]?\s*hoes)/,
/(all[.,;:']?\s*[.!?]?\s*the[.,;:']?\s*[.!?]?\s*hoes[.,;:']?\s*[.!?]?\s*say)/,
/(the[.,;:']?\s*[.!?]?\s*hoes[.,;:']?\s*[.!?]?\s*say[.,;:']?\s*[.!?]?\s*im)/,
/(hoes[.,;:']?\s*[.!?]?\s*say[.,;:']?\s*[.!?]?\s*im[.,;:']?\s*[.!?]?\s*handsome)/,
/(a[.,;:']?\s*[.!?]?\s*hand[.,;:']?\s*[.!?]?\s*gun[.,;:']?\s*[.!?]?\s*i)/,
/(hand[.,;:']?\s*[.!?]?\s*gun[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*got)/,
/(gun[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*got[.,;:']?\s*[.!?]?\s*bands)/,
/(need[.,;:']?\s*[.!?]?\s*a[.,;:']?\s*[.!?]?\s*hand[.,;:']?\s*[.!?]?\s*gun)/,
/(a[.,;:']?\s*[.!?]?\s*hand[.,;:']?\s*[.!?]?\s*gun[.,;:']?\s*[.!?]?\s*i)/,
/(hand[.,;:']?\s*[.!?]?\s*gun[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*got)/,
/(gun[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*got[.,;:']?\s*[.!?]?\s*bands)/,
/(need[.,;:']?\s*[.!?]?\s*a[.,;:']?\s*[.!?]?\s*hand[.,;:']?\s*[.!?]?\s*gun)/,
/(a[.,;:']?\s*[.!?]?\s*hand[.,;:']?\s*[.!?]?\s*gun[.,;:']?\s*[.!?]?\s*i)/,
/(hand[.,;:']?\s*[.!?]?\s*gun[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*got)/,
/(gun[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*got[.,;:']?\s*[.!?]?\s*bands)/,
/(a[.,;:']?\s*[.!?]?\s*ransom[.,;:']?\s*[.!?]?\s*damn[.,;:']?\s*[.!?]?\s*son)/,
/(ransom[.,;:']?\s*[.!?]?\s*damn[.,;:']?\s*[.!?]?\s*son[.,;:']?\s*[.!?]?\s*whats)/,
/(damn[.,;:']?\s*[.!?]?\s*son[.,;:']?\s*[.!?]?\s*whats[.,;:']?\s*[.!?]?\s*the)/,
/(now[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*a[.,;:']?\s*[.!?]?\s*damn)/,
/(you[.,;:']?\s*[.!?]?\s*a[.,;:']?\s*[.!?]?\s*damn[.,;:']?\s*[.!?]?\s*clown)/,
/(a[.,;:']?\s*[.!?]?\s*damn[.,;:']?\s*[.!?]?\s*clown[.,;:']?\s*[.!?]?\s*now)/,
/(damn[.,;:']?\s*[.!?]?\s*clown[.,;:']?\s*[.!?]?\s*now[.,;:']?\s*[.!?]?\s*you)/,
/(and[.,;:']?\s*[.!?]?\s*a[.,;:']?\s*[.!?]?\s*pistol[.,;:']?\s*[.!?]?\s*i)/,
/(a[.,;:']?\s*[.!?]?\s*pistol[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*got)/,
/(pistol[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*got[.,;:']?\s*[.!?]?\s*into)/,
/(ransom[.,;:']?\s*[.!?]?\s*i[.,;:']?\s*[.!?]?\s*fuck[.,;:']?\s*[.!?]?\s*it)/,
/(i[.,;:']?\s*[.!?]?\s*fuck[.,;:']?\s*[.!?]?\s*it[.,;:']?\s*[.!?]?\s*up)/,
/(fuck[.,;:']?\s*[.!?]?\s*it[.,;:']?\s*[.!?]?\s*up[.,;:']?\s*[.!?]?\s*thumb)/,
/(dont[.,;:']?\s*[.!?]?\s*give[.,;:']?\s*[.!?]?\s*a[.,;:']?\s*[.!?]?\s*fuck)/,
/(give[.,;:']?\s*[.!?]?\s*a[.,;:']?\s*[.!?]?\s*fuck[.,;:']?\s*[.!?]?\s*when)/,
/(a[.,;:']?\s*[.!?]?\s*fuck[.,;:']?\s*[.!?]?\s*when[.,;:']?\s*[.!?]?\s*she)/,
/(fuck[.,;:']?\s*[.!?]?\s*when[.,;:']?\s*[.!?]?\s*she[.,;:']?\s*[.!?]?\s*suck)/,
/(when[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*wanna[.,;:']?\s*[.!?]?\s*fuck)/,
/(you[.,;:']?\s*[.!?]?\s*wanna[.,;:']?\s*[.!?]?\s*fuck[.,;:']?\s*[.!?]?\s*girl)/,
/(wanna[.,;:']?\s*[.!?]?\s*fuck[.,;:']?\s*[.!?]?\s*girl[.,;:']?\s*[.!?]?\s*just)/,
/(fuck[.,;:']?\s*[.!?]?\s*girl[.,;:']?\s*[.!?]?\s*just[.,;:']?\s*[.!?]?\s*hit)/,
/(you[.,;:']?\s*[.!?]?\s*here[.,;:']?\s*[.!?]?\s*shooting[.,;:']?\s*[.!?]?\s*you)/,
/(here[.,;:']?\s*[.!?]?\s*shooting[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*dumb)/,
/(shooting[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*dumb[.,;:']?\s*[.!?]?\s*with)/,
/(shooting[.,;:']?\s*[.!?]?\s*you[.,;:']?\s*[.!?]?\s*dumb[.,;:']?\s*[.!?]?\s*with)/,
/(you[.,;:']?\s*[.!?]?\s*dumb[.,;:']?\s*[.!?]?\s*with[.,;:']?\s*[.!?]?\s*the)/,
/(dumb[.,;:']?\s*[.!?]?\s*with[.,;:']?\s*[.!?]?\s*the[.,;:']?\s*[.!?]?\s*left)/,
/(when[.,;:']?\s*[.!?]?\s*she[.,;:']?\s*[.!?]?\s*suck[.,;:']?\s*[.!?]?\s*she)/,
/(she[.,;:']?\s*[.!?]?\s*suck[.,;:']?\s*[.!?]?\s*she[.,;:']?\s*[.!?]?\s*gon)/,
/(suck[.,;:']?\s*[.!?]?\s*she[.,;:']?\s*[.!?]?\s*gon[.,;:']?\s*[.!?]?\s*lick)/ ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment