I am trying to validate a name, with the following rules:
- Case insensitive 
- Only letters, blank space, accented characters. 
- At least one blank space followed with some letter or letters - John Dor- john Doeor- John X Doe
- Cannot have multiple spaces at once - John X Doe
- Length must be at least 5 (with space) and at maximum 80 
I came up with (?i)^[a-z]+(?:[\ ]?[a-z]+)*$
https://regex101.com/r/bQ5oO9/1
Some problems:
- Is validating only 'Name' 
- Is not validating the length 
- Is not accepting accented characters 
 
     
    