// using regex $ // place in the find to point to end of the line , // put your charcter in this case comma in the replace to add comma to end