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 / Trying to find only Al...
Power Automate
Answered

Trying to find only Alphabets with the result

(0) ShareShare
ReportReport
Posted on by 56

Hello,

 

I'm trying to get only USD from below value using Regex, I tried several ways "(?<=Total Amount Due: ).+" but unable to succeed, any help in this regards is appreciated.

 

Total Amount Due: 10,056.00 USDInvoice

I have the same question (0)
  • eetuRobo Profile Picture
    4,572 Super User 2026 Season 1 on at

    Do you mean you only want the amount so the digits and not the text around it?
    If so try this: ([\d.,]+)(?=\sUSDInvoice)
    Result:

    eetuRobo_1-1714386407589.png

     

    Or do you want to get the three letters USD?
    Then try this: USD(?=Invoice)

    Result: 

    eetuRobo_0-1714386393501.png

     


    If that doesn't work can you give example what should the outcome text be like?

  • mohan2mm Profile Picture
    56 on at

    Below are the examples

     

    1. Total Amount Due: 10,056.00 USDInvoice

    2. Total Amount Due: 100,012.00 GBP

    3. Total Amount Due: 1,056.00 EUR

    4. Total Amount Due: 12,220,056.00 INRABC

     

    I'm looking to get the currency from the above line items

     

    Example 1 - USD

    Example 2 - GBP

    Example 3  - EUR

    Example 4 - INR

     

    Note - the currency characters would be only THREE characters in all the cases.

  • eetuRobo Profile Picture
    4,572 Super User 2026 Season 1 on at

    Try this: (?<=\d\s)\w{3}

    eetuRobo_0-1714387665693.png

     

     

  • mohan2mm Profile Picture
    56 on at

     

    Could you please combine the Regex expression to derive only USD from below data.

     

    mohan2mm_0-1714388182108.png

     

  • eetuRobo Profile Picture
    4,572 Super User 2026 Season 1 on at

    Try this: (?<=Total Amount Due: [\d,.]+ )\w{3}

    eetuRobo_0-1714388454209.png

     

  • mohan2mm Profile Picture
    56 on at

    This is awesome !! It started working.

     

    Now, How can I get only the numerics?

     

    Ex 1 - 10,056.00

    Ex 2 - 100,012.00

  • Verified answer
    eetuRobo Profile Picture
    4,572 Super User 2026 Season 1 on at

    This should work I think:
    (?<=Total Amount Due: )[\d,.]+

    eetuRobo_0-1714389236883.png

     

     

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 233

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 190

Last 30 days Overall leaderboard