Lines Matching refs:replace
363 …ent('div').appendChild(document.createTextNode(html)).parentNode.innerHTML.replace(/"/g, '"');
395 target.className = target.className.replace(className, '');
588 options = options.replace(/^,/, '');
708 return str.replace(/^[ ]*[\n]+|[\n]*[ ]*$/g, '');
748 .replace(/^['"]|['"]$/g, '') // strip quotes from end of strings
777 str = str.replace(/</g, '<');
780 str = str.replace(/ {2,}/g, function(m)
800 line = line.replace(/^( | )+/, function(s)
846 return code.replace(/\t/g, tab);
909 str = str.replace(br, '\n');
912 str = str.replace(br, '');
925 return str.replace(/^\s+|\s+$/g, '');
1039 return code.replace(sh.regexLib.url, function(m)
1144 code = code.replace(/\u00a0/g, " ");
1470 spaces = spaces.replace(' ', sh.config.space);
1574 .replace(/\r/g, ' ') // IE lets these buggers through
1686 .replace(/^\s+|\s+$/g, '')
1687 .replace(/\s+/g, '|')