You are viewing a single comment's thread. Return to all comments →
Pattern p = Pattern.compile("<(.+)>([^<]+)</\\1>"); Matcher m = p.matcher(line); if (m.find()){ do {System.out.println(m.group(2));} while (m.find()); } else{System.out.println("None");}
Seems like cookies are disabled on this browser, please enable them to open this website
Tag Content Extractor
You are viewing a single comment's thread. Return to all comments →