Sex before marriage

Can you be sorry for something and not regret it? I had sex before marriage with a boy I liked, I got pregnant and had a beautiful baby girl, I know it was a sin and I’m sorry for it. But I wouldn’t change it for a thing because through that something wonderful happened (had my baby whom I love with all my heart)