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 text with OCR ...
Power Automate
Answered

Extract text with OCR is replacing / with the number 9 and the ' symbol in variable

(0) ShareShare
ReportReport
Posted on by 18

Does anyone know why, or have a solution, to the "Extract text with OCR" action replacing the / character with ', and also adding the number 9 on the first row in the variable?

I'm entering a string into Unix with a sleep delay that gives the extract time to run, which seems to work fine, but doesn't extract the exact text on screen.

I just need the variable to hold: /home/kccukbl

Thanks in advance!

markhollis_0-1705937937143.png

 

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @markhollis ,

     

    You could use regular expression to get the specific string you want.

    [a-zA-Z]*\/[a-zA-Z]*

    vbofengmsft_1-1705976869449.png

     

    vbofengmsft_2-1705976888249.png

     

    Best Regards,

    Bof

     

     

     

     

  • markhollis Profile Picture
    18 on at

    Hi @v-bofeng-msft 
    Thanks so much for your help on this, you have just saved a lot of head scratching and swearing!!!

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 335 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard