Text manipulation using regular expressions

Example

Enter a list of names with first name first, a space, and then a last name. This version of the program also includes code to capitalize the first letters of names.

Code