Hi
I've currently got a form that has data in the format in multiple dropdown boxes:
Position (mobile no) <first.last@work.com>
Is it possible to easily extract just the email address from the form results for use in sending emails
I've tried a few things including:
Find Text Position then putting it into a substring but the best I can get is <first.last@work.com>
I need it without the <>
Playing with variables - but haven't had much luck
Cheers,
Mruberto
Thanks all for your suggestions - @Paulie78 your solution was simplest (for me at least)...
Cheers,
Mark
Try this:
Expression in the second action (which is a compose) is:
slice(outputs('FormResult'), add(indexOf(outputs('FormResult'), '<'),1), indexOf(outputs('FormResult'), '>'))
Produces the output:
Blog: tachytelic.net
YouTube: https://www.youtube.com/c/PaulieM/videos
If I answered your question, please accept it as a solution 😘
Hi @MRuberto,
This should give you the desired result;
Put this in a compose action for example.
If this solves you issue, please consider marking my post as Solved ✔.
Best Regards
Heartholme
Hi @MRuberto ,
apart of you formulas before your can add these two easy formulas to cut off the first and last character:
First character
substring(variables('Mail'),1,sub(length(variables('Mail')),1))
Last character
substring(variables('firstCharacter'),0,sub(length(variables('firstCharacter')),1))
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2