Last Updated: February 25, 2016
·
329
· 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