title: PowerShell - Substring regex
body: <p>I need to search a file for any string that contains the sub-strings "ME" and "SW", in this order, with any character (even non-alphanumerical), before, between and after them.</p>
  
  <p>So far this line works for me:</p>
  
  <pre><code>*select-string -path "..path" -pattern ME*
  </code></pre>
  
  <p>But, when I try the regex <code>[.]*ME[.]*SW[.]*</code> it returns null.</p>
  
  <p>Also, when using <code>[.]*ME[.]*</code> it works.</p>