title: Replace contents of string dynamically in java
body: <p>I have a </p>
  
  <pre><code>String name = " abc_efg_the_xyz_24_Mar_2016.csv "; 
  </code></pre>
  
  <p>I would like to replace <code>24_Mar_2016</code> with <code>"18_Jan_2016"</code>. So that the new string becomes: </p>
  
  <pre><code>"abc_efg_the_xyz_18_Jan_2016.csv" 
  </code></pre>
  
  <p>How can I do it? </p>
  
  <p>Also the problem is that the date part in the string name will always keep changing so I can't do pattern search and replace with new date.</p>
  
  <p>Please help</p>