title: How to extract a date from a string and put it into a date variable in Java
body: <p>I have been looking around stack-overflow and various other websites for the solution to my problem but haven't found any suitable for my specific purposes and have been unable to change these solutions to suit my code. These include regex codes which I do not fully understand or know how to manipulate. </p>
  
  <p>So here is my question, I have a string which has a structure: </p>
  
  <p>"name+" at:"+Date+"   Notes:"+meetingnotes" </p>
  
  <p>(name, Date and meetingnotes being variables). What I want to do is extract the date part of the string and stick it in a Date variable. The basic Dateformat for the dates is "yyyy-MM-dd". How do I do this?</p>