Extract all the academic degrees from the text

Master's Degree in Psychology
Bachelor of Science in Engineering
Master's of Science
PhD in EECS