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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to Extract Consecu...
Power Automate
Unanswered

How to Extract Consecutive Text and Numbers Using AI Builder?

(0) ShareShare
ReportReport
Posted on by 2

I'm working on a project where I need to separate text and numbers that are grouped together in a single string, using AI Builder. For example, given the input:

Input: "Abc123"
Expected Output:
Text: "Abc"
Number: "123"



 

Categories:
I have the same question (0)
  • takolota1 Profile Picture
    4,974 Moderator on at
    You may be better off asking / searching “how to split on letter to number changes in Power Automate”
    Or find a Regex solution.
  • Verified answer
    rixmcx59 Profile Picture
    158 on at
    hello, I solved a similar problem using Chunk(), my string looked like this "777,777,777 possible". AI builder would select the number and the space and the text. 
     
    Try tagging the string for both values documentNo and textOfTotal with the string then extract the text with substring() and the number with Chunk().
     
    I was able to do this in my test, but I need to know if the number always starts with 1 or can it start with any integer.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard