The pattern should match only the "=" symbols with in the html content other than the HTML attributes.
i.e if we have <html><head>Sample head</head><body style="Font family: Courier New"><p> This is a test a=b=c=d or a = b = c </p>
</body></html>The pattern should match only "=" outside the html tags <>