Please include your solution in the future to help others out...
FYI... the following should work. Note that the -F parameter is to specify a field separator, in this case, ":".
In a Bourne shell
Code:
MYVAR=`awk -F: '/testing/ { print $3 }' filename`
export MYVAR