笑わずにいられなかった

couldn't help laughing

→ 笑う
phrase Rare #31,903
couldn't help laughing A past-tense expression meaning that someone was unable to refrain from laughing. The pattern ~ずにいられない means “cannot help doing.”
JA: その映画は面白すぎて、笑わずにいられなかった。
EN: That movie was so funny that I couldn't help laughing.

彼はそれを笑わずにいられなかった

He couldn't help laughing at it.

先生の冗談笑わずにいられなかった

I couldn't help but laugh at the teacher's joke.

王女を見て笑わずにいられなかった

The princess couldn't help laughing when she saw him.

彼の冗談に笑わずにいられなかった

I couldn't help laughing at his joke.

思わず笑わずにいられなかった

I couldn't help but laugh.