Configuring the Blacklist (with RegExp)

You’re asking for quite a lot, and some are quite complex, it seems like it’s over-preventive as well, like, no chat ever have such issues… So given all this, and that we gave many RegExp on the forums already, I’ll give you some answers I think will work, but it’s up to you to fix them if they don’t. Here’s a guide to RegExp to help.

  1. /([A-z]+[0-9]+)|([0-9]+[A-z]+)/
  2. Can’t think of one that’d work, would likely bring issues with punctuation if a RegExp is found to work
  3. Can’t think of one that’d work
  4. /([A-z]+[\u0400-\u04FF]+)|([\u0400-\u04FF]+[A-z]+)/
  5. /([A-z]\s){4,}/

If you want to limit your chat to Latin and Cyrillic alphabets, you can do so like this:
/[^\x00-\x7F]+|[^\u0400-\u04FF]/

1 Like