Complex sentence: Money market funds in the US created a loophole around Regulation Q, which at the time prohibited demand deposit accounts from paying interest and thus money market funds can be seen as a substitute for bank accounts.
Split into simpler sentences: Money market funds in the US created a loophole around Regulation Q, which at the time prohibited demand deposit accounts from paying interest. Thus, money market funds can be seen as a substitute for bank accounts.