String parsing in Korn Shell

Hi everybody, I have a string stored in a variable called record:

record="SNMPv2-SMI::ent.9.9.43.1.3.9.2 = Timeticks: (177330898) 20 days, 12:35:08.98"

I want to write some regular expressions good for Korn Shell to extract the number between parenthesis, in this case 177330898, and put it in another variable called time.

Could somebody help me with this??:):confused:

variable=$( echo $record | sed  "s/.*(\([0-9]*\)).*/\1/" )

Using ksh93 or bash or ...

a="${record%\)*}"    
num="${a##*\(}"

thanks a lot:o