Hey.

Simple question.

Got a basic string..
http://venturacollege.bncollege.com/webapp/wcs/stores/servlet/BNCBHomePage?storeId=78236&campusId=78236&userId=-1002&catalogId=10001&ddkey=http:BNCBMultiCampusPageCmd

trying to get the internal sub-string "78236"

I can remove the beginning portion, but can't figureout the rest of the regex to remove the subsequent chars..

awk -F': ' '{print $2}' | tail -1 |  sed 's/.*storeId=\(.*\).&/\1/'

Any help/pointers/thoughts..

thanks