Hi, can some one let me know how I can use an awk script to be able to search every line in the file and find the state and zip code and insert a comma(,) between the state and zip fields. My file sample is shown below. Thanks for the help.
john, doe, MO 78985
Mary, decker, TX 89989
Jason ,smith ,789 3r;st, NY 10009
charles, NY 10007