title: How to delete wrong symbols and wrong length strings from string array?
body: <p>I have such array:</p>
  
  <pre><code>$array = array('abC12', 'bC44', 'Am286c$', 'cC092', 'cC09288');
  </code></pre>
  
  <p>With using rexexp it is necessary to, at first, delete symbols (replace by ''), that are not in [A-Ca-c0-9].
  At second, it is necessary to delete from array variables that not match such condition:
  string length not equal to 5 (values 'bC44' and 'cC09288').</p>
  
  <p>So, as result array must contain:</p>
  
  <pre><code>$array = array('abC12', 'A286c', 'cC092');
  </code></pre>
  
  <p>Thanks you for any help!</p>
  
  <p>Vladimir.</p>