/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.regex.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
String html
= "ItemPago12.569,00DeducoesPagas36.567,52ItensQnt6DeducoesRetidas21.354,11"; Pattern conteudo = Pattern.compile("ItemPago([^<]+)Deducoes");
Matcher match = conteudo.matcher(html);
match.find();
System.
out.
println(match.
group(1));
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnV0aWwucmVnZXguKjsKCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJCglTdHJpbmcgaHRtbCA9ICJJdGVtUGFnbzEyLjU2OSwwMERlZHVjb2VzUGFnYXMzNi41NjcsNTJJdGVuc1FudDZEZWR1Y29lc1JldGlkYXMyMS4zNTQsMTEiOwoJUGF0dGVybiBjb250ZXVkbyA9IFBhdHRlcm4uY29tcGlsZSgiSXRlbVBhZ28oW148XSspRGVkdWNvZXMiKTsKCU1hdGNoZXIgbWF0Y2ggPSBjb250ZXVkby5tYXRjaGVyKGh0bWwpOwoJbWF0Y2guZmluZCgpOwogCglTeXN0ZW0ub3V0LnByaW50bG4obWF0Y2guZ3JvdXAoMSkpOwoJCgl9Cn0=