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