I have the following HTML:
<P>test</P>
<P>test</P><DFN>
<P>test</P></DFN>
I am using the code:
var re = "<dfn>(?:.+)<\/dfn>";
var oReg = new RegExp(re,"igm");
var result = content.replace(oReg, '');
result always comes back with null.
I am trying to remove the DFN and...