title: Regex match folder and all subfolders
body: <p>I need to write a Regex for a backup exclusion filter to exclude a folder and all of it's subfolders.</p>
  
  <p>I need to match the following</p>
  
  <p><code>folder1/statistics
  folder1/statistics/*
  folder2/statistics
  folder2/statistics/*</code></p>
  
  <p>I came up with this Regex which matches the folder statistics, but not the subfolders of the statistics folder.</p>
  
  <p><code>[^/]+/statistics/</code></p>
  
  <p>How do I expand this expression to match all subfolders below the statistics folder?</p>