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

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

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 (34,577)