π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
export const linkedinCompanyPreventRemove = (text: string) => {
const regex = /@\[(.*?)]\(urn:li:organization:(\d+)\)/g;
return text.replace(regex, `[bold]@$1[/bold]`);
};
export const afterLinkedinCompanyPreventRemove = (text: string) => {
const regex = /\[bold]@([^[]+)\[\/bold]/g;
return text.replace(regex, '<strong>@$1</strong>');
};