If you go the regular expression way...
...will match "iframe" tag content (more or less), and...
...will match the "src" attribute value within the result of the previous match.
Even if it is for the Perl programming language and not Java, a good, relatively compact regular expressions tutorial can be found here:
A good book on the subject is "Mastering Regular Expressions":