export const removeBrandingFromHtml = (html: string): string => { try { return html.replace(/]*data-novu-branding[^>]*>[\s\S]*?<\/table>(\s*)/gi, ''); } catch (error) { return html; } };