Cefalexin during pregnancy?

Has anyone taking this during pregnancy ? I'm 35 weeks and I have a uti, just wondering what was your experiences with this antibiotic? I take 3 x a day for 7 days 500mg.

This was in my labour ward I got it I think they surely know I'm 35 weeks pregnant. I was just wondering how many of use took it and what was your experiences as I said above.