Menu
Given a string such as the following:
var str = ‘<DIV onmouseup=”return endDragElement(event)” class=child2 onmousedown=”return setDragElement(this, event)” id=childDIV2><B>DIV2</B></DIV>
<DIV onmouseup=”return endDragElement(event)” class=child1 onmousedown=”return setDragElement(this, event)” id=childDIV1><B>DIV1</B></DIV>’;
What Regular Expression will remove the in-line events from this?
Thanks.