ich möchte den Inhalt von src des html-codes:
<iframe src="voting-.php?v=w" height="652" name="frame" width="760" frameborder="no" marginheight="0" marginwidth="0" scrolling="no">
</iframe>
abspeichern.
Mein Javacode:
Pattern p = Pattern.compile ("<iframe src=\"([^\"]+)\" height");
Matcher m = p.matcher(body);
while(m.find()){
System.out.println("matcher: "+m.group());
}
findet aber nichts, warum?
<iframe src="voting-.php?v=w" height="652" name="frame" width="760" frameborder="no" marginheight="0" marginwidth="0" scrolling="no">
</iframe>
abspeichern.
Mein Javacode:
Pattern p = Pattern.compile ("<iframe src=\"([^\"]+)\" height");
Matcher m = p.matcher(body);
while(m.find()){
System.out.println("matcher: "+m.group());
}
findet aber nichts, warum?