Last Updated: February 25, 2016
·
330
· felipedeboni

Search in HTML for class using regex

Regex to search if html have some element with specific class

/(class=\"(?:.+)?{REPLACE_WITH_CLASS_NAME}(?: .+)?\")/i