div を編集可能にします。div のテキストを解析しようとしたときに、以下の正規表現を実行する必要がありました。
innerDOM = "<div style="cursor: text;">I had downloaded all the material from the Intern,<br>You will find</div><div style="cursor: text;"> </div><div style="cursor: text;">dfvdfvdvdfvdfvdvdvdf</div><div style="cursor: text;"> </div><div style="cursor: text;">dfvdfvdvdfvdfvdfvdfvd</div>"
innerDOM.replace(/<div style="cursor: text">/g, "<br>").replace(/<\/div>/g, "");
上記の正規表現は、firefox と chrome でうまく機能します。しかしIEではありません。どのような変更を行う必要がありますか?
理解を深めるために、このFIDDLEを参照してください...