How to remove p tags from contentfragment multiline text using java
I have a content fragment with multiline text field as one of the element in it. When I give any description in that, it is storing inside <p> tag and  (for blank spaces). I want to store this contentElement as a json alogng with other content fragment elements.
How can i pass this multiline text to backend java ignoring these <p> and   tags. Below is screenshot of how the multiline text is getting saved in CRX. Need help on this
