Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

Condition Containing Wildcard String

I have a Flow that auto-replies when a new email is received, excluding certain conditions. The condition is if the sender (From) contains the following, do not send a reply:


  • donotreply
  • do-not-reply
  • noreply
  • no-reply
  • etc

I have a Condition using OR where it checks if it contains each of those variations, I am wondering if there is a way to simplify it to something like "*no*reply"


The mailbox the Flow is applied to gets emails from 100s of vendors so I'm trying to simplify the condition and not update it as new variations appear.

Dual Super User II
Dual Super User II



No expressions available for wildcard matching


However you could use the contains expression function to check if the from contains both "no" and "reply" - but this is not a wild card match


If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.


Resolver I
Resolver I

You could use an array variable containing all the bad addresses to check - makes it easier in the future if you want to add more values to the list!

The following is a rough and ready checker. (Note - I could combine a lot of this into fewer steps - but it is a little easier to follow!





Hi @itsmeqp,

you can create a distribution list with no members  "" and send as this DL.

Then you do not need to analyze the addresses of ingoing messages at all, as any message delivered to "" will just disappear.


I understood you want to prevent reply-to reply scenario. My recommendation is: reply to any message as "".


Helpful resources

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (10,964)