I am new to regular expressions.I am trying to find the Images doesn't having BORDER. So the result should second Image.The text which is trying to match using regex is below.
<IMG onerror="this.errored=true;" USEMAP="#Map-43" BORDER="0"/>
<IMG onerror="this.errored=true;" USEMAP="#Map-43" />
<IMG onerror="this.errored=true;" USEMAP="#Map-43" BORDER="0"/>
I tried the following regex but didn't worked
<IMG\\s[^((>)&(?!BORDER)]*>
So can any one help on this please?