Regex Constraint Issues

@mosesakpan
To detail the requirement: Where (position) is which character allowed? E.g.

  • Only A-Z final letter of whole text? (dot also?)
  • Space (single) is only allowed between words?
  • Word (single) must start with A-Z?
  • Dot (single) must follow A-Z, and be last character of word
  • Hyphen (single) can only be between A-Z
  • Minimum of characters? (total? per word?)
  • No newlines
  • … etc.

Side-note: Pay attention to protection of personal data. Your perfect naming might need full anonymisation at the end.