This is what I have done so far. I am capitalizing the first alphabet of all the words except 'by','and', 'of', 'it', 'the', 'at' etc., (the list is goes on).
Expected output: Dance by Cow
Output I received was : Dance by Cow
But now I want to use regex…