java temukan substring antara dua string

StringUtils.substringBetween(str, "<%=", "%>");
Old-fashioned Oryx