E' più o meno quello che avevo cercato di fare utilizzato StringUtils.substringbetween, senza risultati!