Modified Name.# validation function to not allow email addresses or spaces before or after the name.