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

couldn't help laughing

→ 笑う
phrase Rare #21,936
couldn't help laughing A past-tense expression meaning that the speaker was unable to stop themselves from laughing. The pattern ~ずにはいられない means “cannot help doing”; 笑わず is the formal written form of 笑わない.
JA: その映画を見て、笑わずにはいられなかった。
EN: I couldn't help laughing when I watched that movie.

彼女はそのドレスを見たときどうにも笑わずにはいられなかった

She simply couldn’t help laughing when she saw that dress.

のジョークを聞いて笑わずにはいられなかった

I couldn't help laughing when I heard his joke.

私たちは彼の話を聞いて笑わずにはいられなかった

We couldn't help laughing when we heard his story.

トム笑わずにはいられなかった

Tom couldn't help laughing.

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

I couldn't help laughing.

その話を聞いた時笑わずにはいられなかった

When I heard that story, I couldn't help laughing.

その光景を見て笑わずにはいられなかった

I couldn't help laughing when I saw the sight.