I get how to truncate by characters,and words. But is it possible to truncate only the text between <p> tags, and amount of times you want to do so?
for example if i had this text
<p> i eat babies </p>
is there a way i could preg replace only between the <p> tags.