to have known it
I should have known.
I should have known.
De haberlo sabido no te habría atrapado la mano con la puerta.
Had I known, I wouldn't have caught your hand in the door.
— American Gangster (2007)
¿Crees que de haberlo sabido lo habría hecho?
Do you think I would have done it if I’d known?
— Asesinos (2015)
Tienen que haberlo sabido desde el principio.
They must have known from the beginning.
Haberlo sabido, mi madre hace unos sándwiches muy buenos.
If I’d known, my mum makes really good sandwiches.
— Taxi Express (1998)
Nobody could have known.
I should have known.