Hi @Kale Pinaz ,
What type of column is your 'UserName' column?
During my testing, 'UserName' is a single-line text column.
Regular expressions are currently not allowed in Power Automate.
You can use the formula I provided and continue to add user name conditions according to your needs:
@or(contains(triggerOutputs()?['body/UserName'],'John'),contains(triggerOutputs()?['body/UserName'],'Mary'),contains(triggerOutputs()?['body/UserName'],'Eric'))
When I create a new item with 'UserName' as 'John', the condition is automatically triggered.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.