I have the following code, where i parse an html text and use a regex to get all the src attribute values.
The regex works fine on a subset of sites.
My problem is reading the values the regex found...it always gives me an error.
The error is the following
Exception in thread "main" java.lang.IllegalStateException: No match found
Java Result: 1
And the code is as following
Am i missing something??
Any suggestions would be greatly appreciated
Joined: Nov 16, 2008
solved it...had to do a while loop so with every match i found i show it