I want to remove all the attributes within all paragraph tags, but my positive lookahead for the ">" seems to be skipping ahead to ">" in the closing paragraph tag instead of the opening one.
Example:
My HTML:
<p class="a" style="b">text</p>
What I want to catch:
class="a" style="b"
My GREP:
(?<=<p).+(?!>)
What the GREP catches:
class="a" style="b">text</p>
)`
– Wiktor Stribiżew Apr 05 '19 at 14:47)` or `(?<=
)`
– Wiktor Stribiżew Apr 05 '19 at 21:46