NightDev Community Forums

How to ban GetViewers site ads via regex

How to ban GetViewers site ads via regex. They constantly change the registry of words and so on for example: “ge tViewers”, “Getviewe rs”, “GetV iewers” and so on.

You could probably use something like

~/g(\s+)?e(\s+)?t(\s+)?v(\s+)?i(\s+)?e(\s+)?w(\s+)?e(\s+)?r(\s+)?s/i

if they are only adding whitespace between characters

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.