In a form I ask the user to insert his/her First name and Last name with only a space between them, and no space before and after them.
I found the following code: ^[a-zA-Z]+ [a-zA-Z]+$
But I would wish to put restrictions 15 letters max in first, and 20 letters max in last name.