#!/bin/bash
sed -E 's/([^ .]+\.)+([^ .]+)/\2/g' <<< "Here this.is.a.start is a very.nice.String  that.is.the.end yes "

echo "     * {@link my.tailor.is.rich but( ther.is.a.hole.in.my.pants )}. " | \
 sed -E 's/([^ .]+\.)+([^ .]+)/\2/g'