Java regular expression to extract key value pairs
===

How can I extract the value of the book id from this string using Java?

href="http://www.books.com/?bookname=cooking&bookid=12345678&bookprice=123.45">cooking book