web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Variables - Detect Let...
Power Automate
Unanswered

Variables - Detect Letters and Numbers

(0) ShareShare
ReportReport
Posted on by 80

Hello Everyone,

 

I am looking to create an if statement in Automate Desktop that looks to see if a variable contains anything except numbers.

 

For example, if variable = 12345 do this, but if variable = 123A45 then do this.

 

Taking it a step further, I am trying to find a way to detect if the variable is 10 ≥.

 

For example, if variable = 12345 do this, but if variable = 12345678910 do this.

 

I appreciate any assistance!

I have the same question (0)
  • fraenK Profile Picture
    2,125 on at

    You can try to convert the text to a number and check if that works or use parse text with a regular expression for numbers only.

    If action support >= operations

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 177 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard