make 1st leter capital ejs code example Example: how to make 1st letter capital in ejs yourstring.replace(/\w/, c => c.toUpperCase())