Space Removal

How to find this variable?
This kind of text with extra spaces often comes from scraped LinkedIn data, where formatting might not be consistent.
‍
How to use it?
Apply the regex /\\s\\s+/g to streamline the formatting of text from LinkedIn profiles, making it more presentable for use in cold outreach emails or messages.
‍
Use cases
• Cold Outreach: Clean up LinkedIn data before using it in outreach emails to maintain professionalism.
• CRM Updates: Tidy up contact details before uploading them to a CRM system to ensure data quality.
• Networking Communications: Use cleaned data for clearer and more effective networking messages on professional platforms like LinkedIn.
‍
The Prompt TEST
Apply the regex (/\s\s+/g, ' ') to clean up the input {{variable}} by replacing all occurrences of multiple spaces with a single space.
‍
Your Input
Apply the regex (/\s\s+/g, ' ') to clean up the input {{company.Description}} by replacing all occurrences of multiple spaces with a single space.
‍
Apply the regex (/\s\s+/g, ' ') to clean up the input Our company   develops   innovative   cloud-based   solutions   that    empower businesses to operate more    efficiently. by replacing all occurrences of multiple spaces with a single space.
Your Output
Our company develops innovative cloud-based solutions that empower businesses to operate more efficiently.
Why this prompt?
Use a regular expression to clean multiple spaces with a single space
How to implement?
1
Open your 'Lead list' in your lemlist campaign.
2
Create a new column and select "Create AI column". Enter the name of your AI variable and click "Save".
3
Paste the prompt and click "Generate"!
LucasLucas Philippot
Lead Account Executive @lemlist
Share this post