regular expression failed in IE

Stoorntub

New Member
\[code\]innerDOM = "<div style="cursor: text;">I had downloaded all the material from the Intern,<br>You will find</div><div style="cursor: text;">&nbsp;</div><div style="cursor: text;">dfvdfvdvdfvdfvdvdvdf</div><div style="cursor: text;">&nbsp;</div><div style="cursor: text;">dfvdfvdvdfvdfvdfvdfvd</div>"innerDOM.replace(/<div style="cursor: text">/g, "<br>").replace(/<\/div>/g, "");\[/code\]Above regular expression works good in firefox and chrome. But not in IE. What changes should i do?Thanks in advance.
 
Back
Top