echo ssh://git@gitlab.com:/werm-wa/apps-ithacabball.git | sed -e “s/ssh:\/\/.*\+:\([0-9]\+\|\)\///”
\([0-9]\+\|\)
you have to put back slashes on sed markup
echo ssh://git@gitlab.com:/werm-wa/apps-ithacabball.git | sed -e “s/ssh:\/\/.*\+:\([0-9]\+\|\)\///”
\([0-9]\+\|\)
you have to put back slashes on sed markup