Whoa, people. Some of your comments were harsh.
I've lost babies through miscarriages. It is very painful and difficult. I also did not have the support from my husband (now ex), who made a point to be an ass about it. Nor did I have the support from my family and friends. I finally learned to keep it to myself.
From my experience, the WORST thing people would say is, "Well you can always try again." I hated hearing that phrase because 1) you cannot replace a child like a dog 2) "trying again" is just too painful because it implies you were "trying" in the first place and 3) it is none of other people's business about when and how I will have a child.
A simple "I'm sorry about your loss" is sufficient. Words of advice, though with well intentions, are not necessary and sometimes make things worse.
So. "Freckles, I am so sorry for your loss."