protected function getVerificationCode($code)
    {
        // Trim Code:
        
        $code = trim($code);
        
        // Detect HTML:
        
        if (stripos($code, '<meta') === 0) {
            
            // Extract Verification Code:
            
            preg_match('/content="(.+)"/', $code, $matches);
            
            // Update or Nullify:
            
            $code = isset($matches[1]) ? $matches[1] : null;
            
        }
        
        // Answer Code:
        
        return $code;
    }
protected function getVerificationCode($code)
    {
        // Trim Code:
        
        $code = trim($code);
        
        // Detect HTML:
        
        if (stripos($code, '<meta') === 0) {
            
            // Extract Verification Code:
            
            preg_match('/content="(.+)"/', $code, $matches);
            
            // Update or Nullify:
            
            $code = isset($matches[1]) ? $matches[1] : null;
            
        }
        
        // Answer Code:
        
        return $code;
    }
protected function getVerificationCode ( $ code ) { // Trim Code: $ code = trim ( $ code ) ; // Detect HTML: if ( stripos ( $ code , '<meta' ) === 0 ) { // Extract Verification Code: preg_match ( '/content="(.+)"/' , $ code , $ matches ) ; // Update or Nullify: $ code = isset ( $ matches [ 1 ] ) ? $ matches [ 1 ] : null ; } // Answer Code: return $ code ; }
Removes any HTML present in the pasted value and answers the verification code.

@param string $code

@return string
Removes any HTML present in the pasted value and answers the verification code .