title: Check validity with RegEx for explicit pattern in string - 7 digits seperated by whitespace only
body: <p>I am trying to find a solution for a specific way to check whether a string matches the correct criteria. The string being analyzed can consist of multiple values.</p>
  <p>Rules for the whole string:</p>
  <ol>
  <li>value should have 7 digits only, not more not less.</li>
  <li>if more than one value is available then the values should only be seperated by a whitespace</li>
  </ol>
  <p>Example of correct cells:</p>
  <p><a href="https://i.stack.imgur.com/kobDY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kobDY.png" alt="enter image description here" /></a></p>
  <p>fwiw: I am coding in VBA.</p>
  <p>I found this useful post from user @nivox and tweaked it a little (added the rule of having 7 digits), but I have difficulties with values not being seperated at all.</p>
  <p><a href="https://stackoverflow.com/a/3656917/9121235">https://stackoverflow.com/a/3656917/9121235</a></p>
  <p>My tweaked solution:
  <a href="https://regex101.com/r/LGOOQW/1/" rel="nofollow noreferrer">https://regex101.com/r/LGOOQW/1/</a></p>
  <p>As you can see it still matches values not being seperated by a whitespace:</p>
  <p><a href="https://i.stack.imgur.com/6fS4H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6fS4H.png" alt="enter image description here" /></a></p>
  <p>Thanks for your help!</p>