Java найти подстроение между двумя строками

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