What is the regex pattern for these rules:
- Uppercase in the first digit of the name
Valid: John Invalid: JohN
- Uppercase in the middle of the name is allowed but only once.
Valid: McArthur Invalid: McArThuR
- Using apostrophe (') once only and must in the middle of the name
Valid: Mac O'Brian Invalid: Mac' O''Brian