Benadryl?

Has anyone ever taken Benadryl to help sleep at night during pregnancy? I used to take Melatonin on the regular due to insomnia... If so, how often do you take it to help you get some rest? My Dr recommended I use it, although I'm not comfortable taking it nightly of course.