title: Regex for validating input field
body: <p>I am working on an Angular application and have a form which requires user inputs and I am trying to create regex for validating these inputs.</p>
  <p>I have the following:</p>
  <pre><code>//Regex enables letters, Umlaute, scharfes S, dot, dash and space 
  //Spaces cannot be at the beginning or at the end and there is only one space between words enabled
  readonly REGEX_FOR_VALID_NAMES = '^[A-Za-z-äÄöÖüÜß]+(?:\\s[A-Za-z-äÄöÖüÜß./]+)*$';
  </code></pre>
  <p>I wish to use it for name validation and it works great in the following examples:</p>
  <p>Peter Smith
  Peter-David Smith
  T-Martin Smith
  T M. Smith</p>
  <p>But I am struggeling to add the possibility to accept dot at the beginning but not as the very first letter.</p>
  <p>e.g.: <strong>P.</strong> David Smith</p>
  <p>If I add it into the wirst bracet then it is accepted as the first character as well.</p>
  <p>Any help would be appreciated!</p>
  <p>Thank you!</p>