web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Validate email in Powe...
Power Automate
Answered

Validate email in Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 218

We have a Desktop Automation that needs to verify that an email address was entered. 

 

What is the best approach to determine is a text field contains a valid email address?


Regex... or?

  • Sundeep_Malik Profile Picture
    6,501 on at

    Hey @byrnep 

    Don't know about regex in PAD, but found an old post which contains email validation.

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Text-input-email-validation/td-p/729947

  • VJR Profile Picture
    7,635 on at

    Try using the below action to see if it covers all types of email addresses. If not then Regex would be a good option.

     

    Tried 2 samples of .com and .co.uk and both worked well.

    If the RecognisedEntities comes out blank then there is no email detected.

     

    VJR_0-1664250525745.png

     

  • Verified answer
    byrnep Profile Picture
    218 on at

    Good suggestion!  However I ended up going with the Reg Ex. I found it a bit cleaner, but in essence checking for the row count of the Recognize Text could be used the same way.

     

    byrnep_0-1664294149178.png

     

  • VJR Profile Picture
    7,635 on at

    True, and in fact in the code-behind PAD must be using something like a regex and presenting to us in a easy-to-use readymade action. 

  • byrnep Profile Picture
    218 on at

    Yes, it does like like that control is a 'friendly wrapper'.  Regex is not exactly friendly!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 335 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard