title: Get duplicate value in array while ignoring certain values and numbers in front of values
body: <p>I'm trying to find out if same value in array except for CERTIFICATE OF ANALYSIS  and bellow is my array</p>
  
  <pre><code>[0] =&gt; 1009
  [1] =&gt; 1033
  [2] =&gt; 2052
  [3] =&gt; ANNEX 4E
  [4] =&gt; Bill of Lading
  [5] =&gt; CERTIFICATE OF ANALYSIS 123456
  [6] =&gt; CERTIFICATE OF ANALYSIS 000999
  [7] =&gt; CERTIFICATE OF ORIGIN 123456
  [8] =&gt; CERTIFICATE OF ORIGIN 789934
  [9] =&gt; DHL - 1387563870
  [10] =&gt; DHL - 5130431633
  </code></pre>
  
  <p>so after checking I'm expecting bellow result</p>
  
  <pre><code>[1] =&gt; CERTIFICATE OF ORIGIN 123456
  [2] =&gt; CERTIFICATE OF ORIGIN 789934
  [3] =&gt; DHL - 1387563870
  [4] =&gt; DHL - 5130431633
  </code></pre>
  
  <p>since CERTIFICATE OF ORIGIN appeared two times and DHL appeared  two times, with an exception for CERTIFICATE OF ANALYSIS</p>
  
  <p>i try with bellow code</p>
  
  <pre><code>function array_not_unique( $a = array() )
  {
    return array_diff_key( $a , array_unique( $a ) );
  }
  </code></pre>
  
  <p>but not able to get the out put since there is some number in front of the names. do I need to use regular expression here and how?</p>