fork download
  1. #!/bin/bash
  2. sed -E 's/([^ .]+\.)+([^ .]+)/\2/g' <<< "Here this.is.a.start is a very.nice.String that.is.the.end yes "
  3.  
  4. echo " * {@link my.tailor.is.rich but( ther.is.a.hole.in.my.pants )}. " | \
  5. sed -E 's/([^ .]+\.)+([^ .]+)/\2/g'
Success #stdin #stdout 0s 4260KB
stdin
Standard input is empty
stdout
Here start is a String  end yes 
     * {@link rich but( pants )}.