I have a wordpress site with a ton of posts with the following kind of markup:
<div class="comments container">[song_comments song_slug="this time"]</div>
I want a regex search/replace pattern which will search for any string like
<div class="comments container">[song_comments XXXXXXXXXXXXXXXXXXX</div>
...and replace it with an empty string.
So the left delimiter is
<div class="comments container">[song_comments
...and the right delimiter is
</div>
With everything between being variable.
Any ideas on how to do this?
[.........part ?