title: Find the locale in a file name
body: <p>How do I get the locale in the following XML file name in PowerShell?</p>
  
  <pre class="lang-none prettyprint-override"><code>xx12345(de-de,xxxx.54).xml
  </code></pre>
  
  <p>Try to find a better solution for the past hour but no luck. Any help would be appreciated.</p>