I was able to successfully extract everything with your suggestions. My issue came as expected, with the regex not properly recognizing something... thanks so much!! Here is my end code... hope it helps someone!
if($_=~/(Research Interests)/){
$research = "Research Interest";
if($_=~m/<h2>Research Interests<\/h2>(.*?)<p>(.*?)<\/p>/gs){
@researchInterests = split(/,+/, $2);
$count = 1;
foreach(@researchInterests){
print "$research $count:";
print $_. "\n";
$count++;
}
}
}
Research Interests
^M` with the regex `/.*
/`. – TLP Dec 02 '13 at 16:57