I have a custom field called description
that stores a text like this:
<h2>This is a heading</h2>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo
I need to delete the heading inside (<h2.*?<\/h2>
) only.
How can I do this?