dmartinezla
12/12/2014 - 4:01 PM

From http://code.tutsplus.com/tutorials/8-regular-expressions-you-should-know--net-6149 HTML tag regexp

/^<([a-z]+)([^<]+)*(?:>(.*)<\/\1>|\s+\/>)$/