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