Why can\'t I do like this?
[Required(ErrorMessage = \"*\")] [RegularExpression(\"^[a-zA-Z0-9_]*$\", ErrorMessage = Resources.RegistrationModel.UsernameError)
You should instead look at the ErrorMessageResourceName and ErrorMessageResourceType properties of this attribute. They do allow the error message to be pulled from a resource.
ErrorMessageResourceName
ErrorMessageResourceType