Lines Matching refs:replace
57 mySelection = mySelection.replace(/^\s+/,"");
58 mySelection = mySelection.replace(/\s+$/,"");
86 mySelection = mySelection.replace(/^\s+/,"");
87 mySelection = mySelection.replace(/\s+$/,"");
193 return a.replace(/ +/g, " ")
194 .replace(/[\t]+/gm, "")
195 .replace(/[ ]+$/gm, "")
196 .replace(/^[ ]+/gm, "")
197 .replace(/\n+/g, "\n")
198 .replace(/\n+$/, "")
199 .replace(/^\n+/, "")
200 .replace(/\nNEWLINE\n/g, "\n\n")
201 .replace(/NEWLINE\n/g, "\n\n"); // IE
249 .replace(/\t/g, " ")
250 .replace(/\n/g, " "); // to match IE
268 node.innerHTML = node.innerHTML.replace(/<br>/g, "\n");