in Crafts

Regex to grab all html tags and its content

(?s)<description>(.*?)</description>

Will find all description tags and the content in between but not nested tags.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Related Content by Tag