I need to extract a specified substring and then the numbers that follow that substring.
For example, I need to extract cid=159 from the string:
http://website.com/ProductCats.asp?cid=159&otherjunk=1. Even though cid= remains contant, the numbers that follow can change, and can be anywhere between 1-4 digits.
Is there any way that I can extract that pattern?
Thanks in advanced.