cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aishak12
Helper IV
Helper IV

Condition to check for characters in string

All, 

 

I have this output that will contain random numbers/text. I would like to create a condition step that will check if this Video.3 contains any digit or text, 

 

If it contains characters then move to "YES"

 

If it does not contain any characters then move to "NO",

 

Does anyone know how I can set this up? 

 

aishak12_0-1668387673018.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-chengfen-msft
Microsoft
Microsoft

Hi @aishak12 ,

Do you want to determine if Video.3 contains a character?

Please try to use regex to achieve.

There is a connector for this to work with regular expressions:

Plumsail SP - Connectors | Microsoft Learn

Here is a test for your reference:

If the Video.3 content is not a number, it[IsSuccess] will return false.

vchengfenmsft_0-1668397334359.png

 

Here is result:

vchengfenmsft_1-1668397334245.png

 

vchengfenmsft_2-1668397334044.png

Here are some links for your reference:

What is a Regular Expression? [Components & Examples] | Liquid Web

How to use match, test, replace regular expressions in Microsoft Power Automate and Azure Logic Apps...

Best Regards

Cheng Feng

View solution in original post

1 REPLY 1
v-chengfen-msft
Microsoft
Microsoft

Hi @aishak12 ,

Do you want to determine if Video.3 contains a character?

Please try to use regex to achieve.

There is a connector for this to work with regular expressions:

Plumsail SP - Connectors | Microsoft Learn

Here is a test for your reference:

If the Video.3 content is not a number, it[IsSuccess] will return false.

vchengfenmsft_0-1668397334359.png

 

Here is result:

vchengfenmsft_1-1668397334245.png

 

vchengfenmsft_2-1668397334044.png

Here are some links for your reference:

What is a Regular Expression? [Components & Examples] | Liquid Web

How to use match, test, replace regular expressions in Microsoft Power Automate and Azure Logic Apps...

Best Regards

Cheng Feng

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,009)