I have the following integral
$$ f(r)=\int_{0}^{\infty}\frac{\exp(-Ak^{2})}{k}\,\sin(kr)\,\mathrm{d}k $$
with $A>0$ and $r>0$. I know from Wolfram that the result should be
$$ f(r)=\frac{\pi}{2}\text{erf} \left (\frac{r}{2\sqrt{A}} \right) $$
The problem is I have no clue how to obtain this result. I would be very curious how to do this by myself. I know that this is a sine transform, and I should be able to use a similar way like shown here Fourier transform of the error function, erf (x). But already when introducing the sgn function I get lost. Any hints are appreciated.