.:[Double Click To][Close]:.

Jennifer Lopez “How I Met Your Mother” Guest Star

2010 Times Square New Year's Eve

Jennifer Lopez has been confirmed to make a guest appearance in How I Met Your Mother.

The singer-actress will play Anita Appleby, a no-nonsense self-help author who teaches women how to retrain men through the power of denial. The episode is scheduled to air in March.

"We couldn’t be more excited about Jennifer Lopez joining us on How I Met Your Mother. We’re looking forward to a week of revealing outfits and sexy dance moves the likes of which this show hasn’t seen since Regis Philbin guest starred.” Executive producer and co-creator Carter Bays said in a statement on Wednesday.

The 40-year-old is also reportedly to gust star on Fox's Glee, playing the part of a cafeteria.