How can I code my regular expression or string function so that it changes user's names such that it upper case the first letter of each word and lower case the rest of the words.
eg:
JOHN SMith becomes John Smith
or
JASON becomes Jason etc...
please help
Thanks in advance