title: Java parsing many instances of substring from String
body: <p>I am trying to write a small java program that will accept a file (using Scanner class), return the file as a String, and then search that string for any instance of a substring starting with "Email:" and ending with ".edu". There will be many instances of this substring, each of which I want to parse out into an array or a new file.</p>
  
  <p>I know how to find a substring, but I do not know how to A) search for all instances of the substring and B) specify the start AND finish of the substring.</p>
  
  <p>Can someone help me with this logic?</p>
  
  <p>Thanks!</p>