title: How to delete multiple directories having same prefix name?
body: <p>I know that we can delete a directory with the function:</p>
  
  <pre><code>rmdir($path);
  </code></pre>
  
  <p>However I wanted to delete a set of directories having the same prefix.
  For example there are the directories:</p>
  
  <p>A_Folder1, A_Folder2, A_Folder3, B_Folder1, B_Folder2, B_Folder3</p>
  
  <p>Then I wanted to delete all folders having prefix "A_" only.</p>