Magnus

Magnus

  • NA
  • 3
  • 0

Parsing Html

Jul 31 2007 5:41 AM

I retrieve the content (html) of a webpage and I store it in a string. I want to parse the string and look for occurencies of a special id. The pages is quite large with plenty of html. The string I'm after can look like this:

/OrderServlet?view=order&orderid=199082')">

I just want the orderid, the number itself. It can be 5 orders or 20 orders in a page. How would you go about this?


Answers (2)