I need a JavaScript method to allows me to convert the first letter of every word in a string to a capital letter like this: mike tyson wayne to Mike Tyson Wayn
I have this regex in Javascript: 0x[A-F0-9]{2}\g I would like to modify that in order to get a match when the previous character IS NOT a \. Something like t