in Web & Tech

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.

Write a Comment

Comment

  • Related Content by Tag