Consider the function $ \frac{1}{e^{ax} - e^{-ax}}.$ We are try to find the Fourier sine transform. After putting the values we get $$\int_{-\infty}^{\infty}\frac{1}{e^{ax}-e^{-ax}}\sin px\, dx$$
Now I try to solve it by different techniques but every time got stuck, for example I convert $(e^{ax}-e^{-ax})$ in $\sinh x$, but when I take it in nominator, it become $cosec (hx)$. But again I am stuck in finding the integral of $(\sin(px))(cosec(hx))$.
Similarly I tried integration by parts, but I could not solve. Can I get some help?
Let $a>0$ and $p>0$ and let $I(a,p)$ be given by
$$\begin{align} I(a,p)&=\int_{-\infty}^\infty \frac{\sin(px)}{\sinh(ax)}\,dx\\\\ &=\text{Im}\left(\text{PV}\int_{-\infty}^\infty \frac{e^{ipx}}{\sinh(ax)}\,dx\right)\tag1 \end{align}$$
Next, we move to the complex plane. Let $J(a,p)$ be given by the contour integral
$$\begin{align} J(a,p)&=\oint_C \frac{e^{ipx}}{\sinh(ax)}\,dx\\\\ &=\int_{\varepsilon \le |x|\le R}\frac{e^{ipx}}{\sinh(ax)}\,dx\\\\ &+\int_0^\pi \frac{e^{ipRe^{i\phi}}}{\sinh(aRe^{i\phi})}\,iRe^{i\phi}\,d\phi\\\\ &-\int_0^\pi \frac{e^{ip\varepsilon e^{i\phi}}}{\sinh(a \varepsilon e^{i\phi})}\,i\varepsilon e^{i\phi}\,d\phi\tag2 \end{align}$$
As $R\to \infty$ and $\varepsilon\to 0^+$, it is easy to show that the first integral on the right-hand side of $(2)$ goes to $iI(a,p)$, the second integral goes to $0$, and the third integral on the right-hand side of $(2)$ goes to $-i\pi/a$.
Noting that $\frac1{\sinh(az)}$ has poles at values of $z=in\pi$, the residue theorem guarantees that
$$\begin{align} \lim_{N\to\infty}J(a,p)&=2\pi i \left(\frac1a \sum_{n=1}^\infty (-1)^n e^{-np\pi/a}\right)\\\\ &=-2\pi i \frac{1}{a(1+e^{p\pi/a})} \end{align}$$
Putting it all together yields
$$\begin{align} I(a,p)&=\frac{\pi}{a}-\frac{2\pi}{a}\frac1{1+e^{p\pi/a}}\\\\ &=\frac{\pi \text{tanh}(p\pi/2a)}{a} \end{align}$$
Therefore, we find that
$$\int_{-\infty}^\infty \frac{\sin(px)}{e^{ax}-e^{-ax}}\,dx=\frac{\pi \text{tanh}(p\pi/2a)}{2a}$$
which agrees with the result reported by @GEdgar!