#thanks to tinita of perlmonks if ($ENV{HTTP_COOKIE} =~ m@sessionId=([A-F0-9]{16,32}); userID=([0-9]{1,11});@s)