A regular expression is required which will only allow this type of nickname:
First Name (with a capital letter) _ Last Name (with a capital letter)
^(([a-zA-Z]{4,12})([_]{1})([a-zA-Z]{4,12}))$ I use this, but the last name can be written with a small