Capitalize

HTML
CSS
JAVASCRIPT
function capitalize(text) { return text.toLowerCase().replace(/(^|\W)([a-z])/g, function(a, b, c) { return b + c.toUpperCase(); }); } document.write(capitalize('lorem ipsum/dolor SIT amEt consectetuer.kampuang Nan jauh dimato ambo-ambo tempe GOReng Enak RASanya.'));
Expand for more options Login