in reply to remove extra spaces/characters after a given result is found

Once you read perlre, you'll see that this also works:
my ($key) = /description\s+(\S+)/;