Runny eggs

Can I eat runny (sunny side up) eggs while pregnant? I was told it may carry salmonella but I think the chances of that is very slim. So what is your guys thoughts?