\documentclass{article}

\usepackage{hyphenat}

\begin{document}

electromagnetic-endioscopy
electromagnetic-endioscopy
electromagnetic\hyp{}endioscopy
electromagnetic/endioscopy
electromagnetic\fshyp{}endioscopy
electromagnetic\textbackslash endioscopy
electromagnetic\bshyp{}endioscopy
electromagnetic:endioscopy
electromagnetic\colonhyp{}endioscopy

\end{document}

