In the That '70s Show episode S05E06 Over the Hills and Far Away Eric says to Donna:
You love Marquette and I've made my peace with that so we're just gonna go to different colleges, drift away and make out with guys named Ted because these are things we can't change, you're gonna get menopause and I'm gonna die!
He mentioned "guys named TED".
But did the makers of either That '70s Show or How I Met Your Mother do this on purpose?
It seems more logical that the HIMYM writers casted Laura based on the quote then the quote being written for a series that didn't even exist yet.