How to change separate letter material(color) from text-mesh object?

Hi everyone, is it possible to dynamically change separate letter material or color in the object that generated by text-mesh.js script

Thanks for any thoughts direction!