Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
What is this?
Less
More

Memberships

AI Automation Agency Hub

Private • 68.7k • Free

Automation Incubator™

Private • 18.2k • Free

Make Money With Make.com

Private • 404 • Paid

Unorthodox | Founder Systems

Private • 2.1k • $75/m

Automate What Academy

Public • 829 • Free

Content Academy

Public • 9.2k • Free

EmpowHER AI

Private • 72 • Free

AI For Business

Private • 150 • $25/m

1 contribution to Automate What Academy
Regex & Text Parser Help / Alternative?
Hi All! Life recently got in the way for far too long and I'm having a moment where I can't seem to figure out how to parse text (output from perplexity) and reformat it for the body of an email. Scenario: User has spur of the moment gift idea for someone for the holidays, sends a slack message "ie: can you recommend 5 top rated pinot noirs 50 dollars or less to give as a housewarming gift? Today?" That is sent to perplexity (given they added the new shop feature), perplexity output is then posted - (long string raw text) and from here I am stuck if I use a text parser (i've worked with 6 different regex's with the help of Chat GPT), or a chat GPT assistant, or reformat the text somehow within the gmail module itself? See attached output in screenshot. NO matter what, I cannot get the body of the email to be formatted similarly to perplexity's output. It's just one large paragraph. The latest regex I found is: ## \d+\.\s\*\*(.+?)\*\*\n-(.+?)\n- \*\*Link:\*\* \[(.+?)\]\((.+?)\) and i checked this with the string on pythex.org Any ideas? LMK if I need to clarify anything!
2
4
New comment 17d ago
Regex & Text Parser Help / Alternative?
3 likes • 17d
thank you! that was the alternative I was trying to remember from one of your previous examples - I just figured out this alternative - apparently the output of Perplexity is answering in Markdown, that's what the ## and ** are. So it was easiest to use the html markdown tool and grab the response and use that markdown to html right into the gmail output. Saved a lot of time and worked! saving your loom though bc I need this alternative for a different automation, thanks again!!
1 like • 17d
ahahha trust me I feel the same way with anything AI related - it evolves so quickly!
1-1 of 1
Francesca Archila
2
14points to level up
@francesca-archila-3976
Washington DC - technical program manager

Active 20h ago
Joined Oct 30, 2024
powered by