title: RegEx for Find and replace all ArrayList<something> with ArrayList<> in eclipse
body: <p>I have recently started using java 7 and I want to use <code>&lt;&gt;</code>  <strong>diamond operator</strong> in my existing code. Can anyone tell how to find and replace all the instances of ArrayList to ArrayList&lt;>.</p>
  
  <p>For e.g.:</p>
  
  <pre><code>List&lt;Integer&gt; list = new ArrayList&lt;Integer&gt;();
  </code></pre>
  
  <p>would become</p>
  
  <p><code>List&lt;Integer&gt; list = new ArrayList&lt;&gt;();</code></p>
  
  <p>I can follow same patter for <code>Set</code> and <code>Map</code>,too.</p>