How can I detect Russian spam messages with Perl?

I have a website in English written in Perl that is constantly being tricked by spam in Russian. Is there a way to use Perl and regex to detect Russian text so that I can block it?

+5
source share
2 answers

The following characters can be used to detect cyrillic characters :

[\u0400-\u04FF]+

, , , [\u0410-\u044F]. , , , .

+8

, JG, , . , . , , .

, (, , ) - grep :

koi8-r
windows-1251
iso-8859-5

- , . , , google translate ( "" ) xerox. .

+3

All Articles