title: regex for exclude some sub folders that match with a starting string
body: <p>I am trying to set a regex pattern to allow parent folder with any characters(case insensitive) including special characters and exclude sub folder name whenever that match specific starting word with case insensitive.</p>
  
  <p>I got temporary solution that excludes the sub folders, but in that regex i have to hard code all the sub folders that i want to exclude:</p>
  
  <p><code>[a-zA-Z0-9\-]\/(?!(st1|str2|str3))</code></p>
  
  <p>Here users able to create any name as parent folder including special characters:</p>
  
  <pre><code>its_MY-folder/foo
  folder/bar
  </code></pre>
  
  <p>but need to restrict them whenever try to create a sub folder start with word "test" by ignoring case:</p>
  
  <pre><code>MY_Folder-name/test_name
  MY_Folder/Test-name
  </code></pre>
  
  <p>Thanks in advance for your help.</p>