cephalexin is it safe to take?

Michelle
So I went to the doc today and he gave me cephalexin to take...he said it was. I just want to see if anyone else has taken this while pregnant.