I wanted to know how I can add the letter "Ñ", both uppercase and lowercase in the RegularExpression of my Data Model.
I currently have it like this:
[RegularExpression(@"^[a-zA-Z ]*$", ErrorMessage = "Solo se permiten letras para el Nombre.")]
public string Nombre { get; set; }
This works fine but the Ñ does not take me nor the marked letters (á, Á, é, É, etc...).
Here I add the ñ, accented letters and the Ç