There are many ways to accomplish your requirements. I'd recommend writing down how you would accomplish this on a piece of paper. For instance: find comma, get text on either side of comma,...