On Regular Courant Algebroids