Hello!
I need to extract from the following lines of code
<label for="<%=foobar.bar %>">Password:</label>
<label for="foobar">Password:</label>
I need to extract foobar
, I can use this: (?<=for=")[^"]+(?=("))
to extract:
<%=foobar.bar %>
and
foobar
but I don't want <%=
or .bar
and if I try to create (?<=for=")[^"]+(?=(")) | (?<=for="<%=)[^"]+(?=("))
it doesn't work becuase the label that included <%=
meets both conditions and I don't think you can use XOR? Is this anything anyone can help me with?
Merci :)