var name = "questions[0][question]",i=0; name.replace(/[.+?]/g, function(match, pos, original) {i++;return (i==1)?"[THE REPLACED VALUE]":match;});
执行结果:"questions[THE REPLACED VALUE][question]"