Can someone assist with a regular expression that will replace and capitalize the first character in a text characters to lowercase
For example
PETER Before
Peter After
JohN Before
John After
paul Before
Paul After
The following Regex will locate the Uppercase characters
[A-Z]
But I don't know how to replace them by turning the first character to Uppercase.
Thanks
For example
PETER Before
Peter After
JohN Before
John After
paul Before
Paul After
The following Regex will locate the Uppercase characters
[A-Z]
But I don't know how to replace them by turning the first character to Uppercase.
Thanks