How can I truncate a new line or paragraph instead of using Truncatewords:40?

Hello everyone,

How do i truncate a new line or
lines instead of Truncatewords:40 .
I understanding by using Truncatewords:40 after 40 words it would cut off for ex

{%-else-%}

{{- pr_des | strip_html | truncatewords: 40,“” | newline_to_br -}}{{readm}}

but I would like it to truncate the next paragraph or line instead , is there a way to do this?

Thank you in advance

hello, can you please share a screenshot of what to do?

Sorry i should’ve attached an image for a clearer explanation. Right now is truncated to 40 words but that’s not what I want .
I want it to truncate to next line , paragraph or
instead of 40 words.

hello @kingji89

so do you want only this product detail in the shot description and should not appear

No both should appear , and i just want it to truncate the next paragraph or next line instead of 40 words.