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 / failed to get number b...
Power Automate
Answered

failed to get number before % with the regualr expression in power automate

(0) ShareShare
ReportReport
Posted on by 8

Hi all,

I extract a sentence from pdf file ,and try to get the VAT rate number before % with the regualr expression in power automate,but it says syntax error.but it works when i try it in regex website

 

the regex i use is :  \d+(?=%)

the number before % is VAT rate  。%  only occurs once in the text

 

Thanks

微信截图_20230315214414.png微信图片_20230315214505.png

I have the same question (0)
  • Verified answer
    Pavel_NaNoi Profile Picture
    1,074 on at

    you need to escape the percentage sign as PAD uses it for variables, just write %% instead of %

    that'll fix it.

  • lyjxuzhou Profile Picture
    8 on at

    it works.Thanks

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

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 312 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 154 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 143 Super User 2026 Season 2

Last 30 days Overall leaderboard