This regex pattern force and forbid the use fo certain characters for username. For example to add Hebrew use: /&#94;&#91; '\-_a-zA-Z0-9@\.א-ת]*$/ or for Chinese use: /&#94;&#91; '\-_a-zA-Z0-9@\.\x00-\xff]*$/