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 / Extract only numeric v...
Power Automate
Unanswered

Extract only numeric values from an image

(0) ShareShare
ReportReport
Posted on by 95

Hi All, 

 

Would like to know is there any other way to extract alphanumeric from an image? 

As I require to generate a report from a portal. But the report generated by the portal is a image format. 

I tried to use extract text using OCR, but it never extract accurately.

Such as this image:

 

foxngn84_0-1704769802663.png

 

When I extracted using OCR, it will return as :

 

O Inbound Maximum : Current : 18.23 M Average: 11.11 M 34.34 M

Outbound Maximum : Current : 14.22 M Average: 10.64 M 24.87 M

 

If there is no other way but needed to use OCR, what is the best way I can extract only the last 2 number behind on each row? 

 

 

Thanks

 

I have the same question (0)
  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    After extracting data by using PCR then you can use parse text activity...

    By giving regex pattern in parse text activity you can extract the numbers which you want

     

    Hope this helps 

    Usha

  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    Which 2 numbers you want to extract 34 and 87 if so please confirm I will send you the regex pattern 

     

  • foxngn84 Profile Picture
    95 on at

    Hi, I need this 2 set of numbers:

    11.11, 34.34

    10.64, 24.87

  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    Use parse text activity give the input as the output of ocr activity

    Then enable regular expression then 

    Write the pattern as (?<=Average:).*

    Then enable all accurances 

    And your output will be stored in match variable 

     

    Hope this helps

    Usha

  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    UshaJyothi20_0-1704818624715.png

    Regex pattern is (?<=Average:\s).*\d

    and you need to remove M by using replace text activity by giving %""% to replace as shown below

    UshaJyothi20_1-1704818846816.png

     

     

    Hope this helps

    Usha

     

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 227

#2
David_MA Profile Picture

David_MA 204 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 177

Last 30 days Overall leaderboard