I need a regular expression that selects the element that does not contain @href
<test abc="xyz_CHCFGRc/abc_CHmnop" href="sdddzus.xml">text</test>
<test abc="abc_abc>text23</test>
<test abc="123_ABCc/abc_CHmnoph">text42</test>
Regular expression which I wrote :
<test\s+abc.[^href]*>.*
the problem with this expression is that href is considered as a seperate letter and if the abc contains any of these letters it doesn't get selected.
The result should be:
<test abc="abc_abc>text23</test>
<test abc="123_ABCc/abc_CHmnoph">text42</test>
but in my case the result is
<test abc="abc_abc>text23</test>
Thanks in advance