in reply to simple replace question
$testtext =~ s|^<p>(.*?)</p>$|$1|; [download]
this looks like the best suggestion!! given the greediness of grep, this approach would ignore any internal <p> tags? that's what i want - just to strip off the first and last tag.