1
2
3
function remove_comment(s) {
	return s.replace(/\/\*.*?(\*\/|$)/, '');
}