First, set a variable as “EmailAddress”.
![](https://i0.wp.com/mspowerautomate.com/wp-content/uploads/2021/12/word-image-377.png?w=1200&ssl=1)
Then, write a python script to create regex and method to check email and validate if it’s valid or invalid.
![](https://i0.wp.com/mspowerautomate.com/wp-content/uploads/2021/12/word-image-378.png?w=1200&ssl=1)
Clicking on the flow variable pane, will show the python script output and if the email is valid or invalid.
![](https://i0.wp.com/mspowerautomate.com/wp-content/uploads/2021/12/word-image-379.png?w=1200&ssl=1)