!ie'] = "GoogleVoiceWidgetROE(PSS('$0'))"; function GoogleVoiceWidgetROE($pattern) { preg_match('#id=([^"\'&]+)[&"\']#', $pattern, $matches); $id = $matches[1]; $out = "(:googleVoice $id:)"; return $out; } # Example Output # function GoogleVoiceWidgetFunc($id) { $out = ''; return Keep($out); }