Can anyone explain what’s “i before e”?

I before E except after C

And when sounding like A as in neighbor and weigh

And on weekends and holidays and all throughout May

And you’ll always be wrong no matter WHAT YOU SAY

Heh, onlu rule in English: Memorize them all!
It isn’t often I see Brian Regan bits in the wild. The same thing came to mind.