I am trying to find orphan '
that exists between <
and >
, whether in the same line or in the closing >
next line or after.
I am a bit new to this, I tried lazy search like <.*?'.*>
, but I can’t get it to work.
Or a different way to search could be to find lines with any odd number of '
between < >
.
So on grepWin or NP++ it should match lines like:
<p class="quote" style=' ; dir='ltr'>
But not:
<p class="quote" style='indent' ; dir='ltr'>