I have following situation,
String a="<em>crawler</em> <em> Yeahhhhh </em></a></h3><table";
System.out.println(a.indexOf("</em>"));
It returns the 11 as the result which was the first that it founds.
Is there any way to detect the last instead of the first one for the code written above?