Following Jacquet, Lapid and Rogawski, we regularize trilinear periods. We use the regularized trilinear periods to compute Fourier–Jacobi periods of residues of Eisenstein series on metaplectic groups, which has an application to the Gan–Gross–Prasad conjecture.