Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Referring tp my comment above:

To remove complete html paragraphs you may search for the regex <p[^>]*>.*</p> and replace the findings woith nothing (empty string).

Is this what you wanted?

Referring tp my comment above:

To remove complete html paragraphs you may search for the regex <p[^>]*>.*</p> and replace the findings woith nothing (empty string).

Is this what you wanted?wanted?

Edit 1:
Referring to my second comment on the answer by @John SUN (there answering to a comment by @Mike Kaganski), I would suggest to also take in account the RegEx <p[^>]*>.*?</p> if more than one html-paragraphs can occur in a single cell.

This again if the intention is to completely remove the html-paragraphs and not just the lead-in and lead-out.

Referring tp my comment above:

To remove complete html paragraphs you may search for the regex <p[^>]*>.*</p> and replace the findings woith nothing (empty string).

Is this what you wanted?

Edit 1:
Referring to my second comment on the answer by @John SUN (there answering to a comment by @Mike Kaganski), I would suggest to also take in account the RegEx <p[^>]*>.*?</p> if more than one html-paragraphs can occur in a single cell.
Example
attached.

This again if the intention is to completely remove the html-paragraphs and not just the lead-in and lead-out.

Referring tp my comment above:

To remove complete html paragraphs you may search for the regex <p[^>]*>.*</p> and replace the findings woith nothing (empty string).

Is this what you wanted?

Edit 1:
Referring to my second comment on the answer by @John SUN @JohnSUN (there answering to a comment by @Mike Kaganski), I would suggest to also take in account the RegEx <p[^>]*>.*?</p> if more than one html-paragraphs can occur in a single cell.
Example attached.

This again if the intention is to completely remove the html-paragraphs and not just the lead-in and lead-out.

Referring tp my comment above:

To remove complete html paragraphs you may search for the regex <p[^>]*>.*</p> and replace the findings woith nothing (empty string).

Is this what you wanted?

Edit 1:
Referring to my second comment on the answer by @JohnSUN (there answering to a comment by @Mike Kaganski), Kaganski ), I would suggest to also take in account the RegEx <p[^>]*>.*?</p> if more than one html-paragraphs can occur in a single cell.
Example attached.

This again if the intention is to completely remove the html-paragraphs and not just the lead-in and lead-out.