I have a link like this:
I want to get the name of it (current community) with java. I tried pattern/matcher but I cannot remember a token for this case.
My href's are in the string 'title_string'
Pattern p_title = Pattern.compile(">.<");
Matcher m_title = p_title.matcher(title_string);
while (m_title.find()) {
String m_title_string = m_title.group().toString();
System.out.println(m_title_string);
}
Maybe somebody has an idea?