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 / Regex for Invoice numb...
Power Automate
Answered

Regex for Invoice number and discreption

(1) ShareShare
ReportReport
Posted on by 25

Hi,

 

Column                                    Result

Finance Desc 12345678           12345678 Finance Desc

12345678 Description              12345678 Description

des 12345678                           12345678 des

Description                               Description

 

My Task is. first number should come and then desc has to come. See the result field for reference. if number is not vailable it should come only description in the result. Kindly suggest how to write regex for this. Thanks in advance

 

Regards,

DG

 

 

 

I have the same question (0)
  • Verified answer
    Rkv_ Profile Picture
    166 on at

    @Dg_Reddy You can use two parse text actions, One is to retrieve the Text and other is to Retrieve the number.

    Rkv__0-1642673158537.png

    To retrieve text you need to use [A-Z,a-z,\s?]+ as regex in the parse text action and \d+ to retrieve the number.

    Rkv__1-1642673298922.png


    I hope this helps you.

  • Verified answer
    Rkv_ Profile Picture
    166 on at

    @Dg_Reddy You can use two parse text actions, One is to retrieve the Text and other is to Retrieve the number.

    Rkv__0-1642673158537.png

    To retrieve text you need to use [A-Z,a-z,\s?]+ as regex in the parse text action and \d+ to retrieve the number.

    Rkv__1-1642673298922.png


    I hope this helps you.

  • Dg_Reddy Profile Picture
    25 on at

    This is worked but some times description is having number. kindly provide regex for 

    ex:

    Column:                                   Result:

    Finance 12345 12345678        12345678 Finance 12345

     

    1) Find 8 Digit Number - 12345678

    2) Find Rest of all apart from 8 Digit Number  -  Finance 12345

    ??

    thanks in advance

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 210 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 175

Last 30 days Overall leaderboard