title: Using wildcards to download a file with Invoke-WebRequest
body: <p>I have an url in which there are 6 digits which are changing daily.</p>
  
  <p><strong>Sample website</strong>:
  <a href="https://www.ecb.europa.eu/paym/coll/assets/html/dla/ea_MID/ea_csv_160126.csv" rel="nofollow">https://www.ecb.europa.eu/paym/coll/assets/html/dla/ea_MID/ea_csv_160126.csv</a></p>
  
  <p>This is the part which changes: <strong><code>160126</code></strong> </p>
  
  <p>I don't know the correct syntax but as a form of pseudo code:</p>
  
  <pre><code>$url = "https://www.ecb.europa.eu/paym/coll/assets
  /html/dla/ea_MID/ea_csv_" + [0-9][0-9][0-9][0-9][0-9][0-9]+ ".csv"
  </code></pre>
  
  <p>How can I write this string?</p>
  
  <p>To answer the comments, I use it to download that file to a folder, like this:</p>
  
  <pre><code>"https://www.ecb.europa.eu/paym/coll/assets/html/dla/ea_MID/ea_csv_" + [0-9]+[0-9]+[0-9]+[0-9]+[0-9]+[0-9] +".csv"
  $output = "C:\MyFolder\SomeSubFolder\ScriptDownload"
  $start_time = Get-Date
  
  Invoke-WebRequest -Uri $url -OutFile $output  
  Write-Output "Time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)"  
  </code></pre>