basically im parsing through the socket data,

and the line im looking for is like this

Set-Cookie: userrole=354545454354; expires=whenever blah blah

can anyone show me how to capture the userrole effeciently using regex guys? my socket is like this

Code:
on *:sockread:cookie: {
  var %read
  sockread %read 
  tokenize 32 %read

 //need to get userrole
}