i have the following string
sa=t&rct=j&q=&esrc=s&source=productsearch&cd=1&cad=rja&docid=10829621560421678006&ved=0CDEQ9gIwAA&url=http%3A%2F%2Fwww
i would like to parse this part out 10829621560421678006
i am thinking about writing a function that returns the string between 2 specified strings which are in this case &docid= and &ved=
any suggestions or a better solution?, note that i can't use split since the string structure will differ from time to time, my reference to this number are those 2 strings &docid= and &ved=
also is it possible to use regualr expression?