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 Apps / email address validation
Power Apps
Answered

email address validation

(0) ShareShare
ReportReport
Posted on by 173

Hi, I am looking to function to validate email address, for example as below, I need compare the string after the string "@", please advise. 

test@gmail.com  --valid

test@ongmail.com --invalid

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @sdnd2000 

    I used a fictitious contact list called FakeNames for the example and pulled the back half of the email addresses out using the split() function.  It produces a table with a single column called "Result". I then  added them to the list using the AddColumns() function to produce the Items of the gallery. : I called the split email address "url" and the list of valid addresses "addrss" and it consisted of only deleo.com, aol.com, and cox.net.  If you have a list of valid email strings following the "@" you can compare a list of email addresses against the valid ones as follows

    In the example, the ones matching are red and the others are green. 

    _2.png

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 Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard