Extract part of a string



Hi,

I want to extract everything between the hash signs in the following
string

"### This is a test ###"

I am using the following..

if($desc=~ /\#{3}(.*?)\#{3}/ )
{
print $1;

}

I am not getting the desired result. Please tell me what I am doing
wrong.

Thank you,

Thendral

.