title: PowerShell Regex to find " Version 12.3 "
body: <p>In a string such as:</p>
  
  <p><code>CustomerDisplayVersionNumber : Version 12.3 (build 567.89)</code></p>
  
  <p>How can I, using a regex, return true if the version number is exactly <code>12.3</code></p>
  
  <p>There is the slight, but real possibility that the version number might contain a service pack version. For example</p>
  
  <p><code>CustomerDisplayVersionNumber : Version 12.3.4 (build 567.89)</code></p>
  
  <p>Which leads me to believe it will be safer to check for <code>[space]Version 12.3.nnnn[space]</code>.</p>