Assuming those tags can’t be nested, you can use the following regex with the single-line flag to match the tags and their content :


You can try it here.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top