Personal tools

User:Serkan/test5: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 137: Line 137:
} );
} );


function replaceAll(find, replace, str) {
function replaceAll(str, token, newtoken) {
  return str.replace(new RegExp(escapeRegExp(find), 'g'), replace);
    if(token!=newtoken)
}
    while(str.indexOf(token) > -1) {
function escapeRegExp(string) {
        str = str.replace(token, newtoken);
     return string.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1");
    }
     return str;
}
}
</script>
</script>

Revision as of 11:03, 18 April 2014



Mouse transcription factors