codice:
tuaTextarea.value = tuaTextarea.value.replace(/\.\s*[a-z]/g, function (sFound) { return sFound.toUpperCase(); });