Sublime Forum

Regex: Find duplicate tags in

#1

hello. I have 1000 html pages, and I want to find all the pages that has a duplicate tags, such as:

<meta property="og:title" content="BLAH BLAH" />
etc…
etc…
<meta property="og:title" content="Elvis Presley" />

can anyone help with a nice regex?

0 Likes

#2

FIND:

(property="og:title)[\s\S]*\1"

0 Likes