Jennifer Lopez will guest star in an episode of How I Met Your Mother to be broadcast this March on the CBS Television Network.

Lopez will play Anita Appleby, a no-nonsense author of self-help books that teach women how to train men into relationship machines through the power of denial. When Robin tells Anita how Barney acts toward women, she makes it her mission to "break" him.

"We couldn't be more excited about Jennifer Lopez joining us on How I Met Your Mother," says Executive Producer and Co-Creator Carter Bays. "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."

How I Met Your Mother - a comedy about Ted and how he fell in love, all with the help of his friends as they try to navigate life, love and becoming adults in New York City - stars Josh Radnor, Jason Segel, Alyson Hannigan, Neil Patrick Harris and Cobie Smulders. Carter Bays, Craig Thomas and Pamela Fryman are executive producers for Twentieth Century Fox Television.

How I Met Your Mother is broadcast Mondays (8:00-8:30 PM, ET/PT) on the CBS Television Network.