e.value = e.value.replace(regexp, ""); // first occurance e.value = e.value.replace(regexp, ""); // second occurance if (isIE4up) window.returnValue = e.value; else if (isNav4up) { e.value = e.value.toLowerCase(); switch (context) { case "body": break; case "fileClose": opener.fileClose(e.value); break; case "fileNew": if (e.value == "ok" || e.value == "yes") { if (opener.lUntitled) opener.fileSaveAs(undefined, "fileSaveAs", "fileNew"); else opener.fileSave("fileNew"); } else if (e.value != "cancel") opener.fileNew(e.value); break; case "fileOpen": if (e.value == "no") opener.fileOpen(""); else if (e.value != "cancel") opener.fileSave("fileOpen"); break; case "fileSave": break; case "fileSaveAs": break; } } window.close(); } //-->

| `get-field("text")`