I'm trying to capitalize words with c# applying this
Regex.Replace(source,"\b.",m=>m.Value.ToUpper())
It doesn't work.
I want to do this with c#:
"this is an example string".replace(/\b./g,function(a){ return a.toLocaleUpperCase()});
Output string: "This Is An Example String"