Is it safe to use wine when cooking during pregnancy?

Sometimes i use wine in cooking and was wondering whether it is considered safe or not during pregnancy.