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 / Extract Number from Da...
Power Automate
Answered

Extract Number from Data extracted from string using regular expressions

(0) ShareShare
ReportReport
Posted on by

I'm trying to use regular expression to extract a number from the below string, My automation has me running searches and based on the number in the below string I will perform an action. I want to extract the number 763, the number can also be a single digit or a triple digit, depending on the search.  I have extracted the data just not sure how I would use a regular expression and what actions to use to extract the number.  Thanks for the help!

 

 

str_Varaible  'Showing 1 to 10 of 763 entries'

I have the same question (0)
  • Verified answer
    UshaJyothiKasibhotla Profile Picture
    203 Moderator on at

    If of and entries is constant then you can use below expression

    (?<=of).*(?=entries)

    Hope this helps 

    Usha

  • Natron26 Profile Picture
    on at

    Nice Work! Thank you very much!

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    What @UshaJyothi20 is the correct regular expression for your use case.

     

    I would just like to note that it should usually be possible to retrieve the element separately from the rest of the string, as it is a dynamic value, so the web page will usually store it as a separate element. Possibly an <a> type.

     

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard