petemar1 has asked for the wisdom of the Perl Monks concerning the following question:
Hello:
http://www.javajunkies.org/index.pl?node_id=3524
I understand this isn't a Java forum, but I have a question tangential to Perl via regular expressions. I'm currently writing a small "screen-scraping" application using java.util.regex.* and am having trouble matching all the strings in a page my pattern should find.
My regex is:
ViewItem&item=(.*?)&category=
or, alternatively:
ViewItem&item=(\\d*?)&category=
and the page I'm searching is:
I'm trying to match all the item IDs for the products listed on the page. I match 1 or two of them but I should return about 50 per page. Any ideas?
Best regards,
petemar1
Originally posted as a Categorized Question.
|
|---|