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