Block some top level domains

These are old archives. They are kept for historic purposes only.
Post Reply
MADxHAWK
Posts: 6
Joined: Sat Mar 15, 2008 2:24 pm

Block some top level domains

Post by MADxHAWK » Fri Mar 04, 2011 7:23 pm

Hi, i have some problems with spamurls comming from de.vu or .ms domains so i tried to setup a spamfilter rule

i have used these regexp:

(http://)?[A-Z0-9\-\.]+\.(ms|de\.vu)

but it seems like it doesnt work ?

want to block urls like
http://somedomain.de.vu
http://www.somedomain.de.vu
http://some-otherdomain.ms
http://www.some-otherdomain.ms

and so on.

any help would be aprecciated

Greet
Mad

MADxHAWK
Posts: 6
Joined: Sat Mar 15, 2008 2:24 pm

Re: Block some top level domains

Post by MADxHAWK » Sat Mar 05, 2011 7:15 pm

Could solve the problem by myself.

For al those who maybe need a same regex here it is:

(http://)?[A-Za-z0-9\-\.]+\.(de\.(vu|lv)|eu\.(tc|mn)|au\.pn|ms|de\.gg)+(/[^ ])*

this blocks the folowing tlds:
de.vu
de.lv
de.gg
eu.tc
eu.mn
au.pn
ms

Need this to prevent a radiostation from spamming their fakeurls of original stations.

MAD

Post Reply