Skip to main content

Notifications

Community site session details

Community site session details

Session Id : gnlPbE9cGFtYpH3lsqgtjK
Power Automate - Power Automate Desktop
Unanswered

Regular expression issue in Power Automate Desktop - Add backslash automatically

Like (1) ShareShare
ReportReport
Posted on 2 Feb 2023 13:09:36 by 48

The backslash is added automatically while we are using Regular express match to find the element since PA version 2.7
The backslash"\" was not added ago-on PA version 2.6. 

My flow is broken due to this symbol if I have used Regular expression match before.

Could you please help to restore it to the old version?

Captivebird_0-1675343288819.png

 

  • Randy_Colorado Profile Picture
    28 on 14 Jul 2024 at 15:54:30
    Re: Regular expression issue in Power Automate Desktop - Add backslash automatically

    That worked.  Thanks for your assistance.

  • Pavel_NaNoi Profile Picture
    1,072 on 13 Jul 2024 at 23:41:30
    Re: Regular expression issue in Power Automate Desktop - Add backslash automatically

    Try %"%"%, that is also a % sign escape in PAD, might work.

  • Randy_Colorado Profile Picture
    28 on 13 Jul 2024 at 00:02:25
    Re: Regular expression issue in Power Automate Desktop - Add backslash automatically

    I've identified the same issue when trying to use the percent symbol (%) as part of the regex formula (e.g., (?<=Trans Cost Adj .*%\$$?)\d{1,2}\.\d{2,2}).  It appears fine when opening the datatable where being used as a reference formula however, when executing PAD and looking at the RegEx datatable with the program paused, everywhere a single backslash was used as an escape character there appears two backslashes, including two in front of the % symbol (e.g., (?<=Trans Cost Adj .*\\%\\$$?)\\d{1,2}\\.\\d{2,2}).  I tried to use %% and \% with no luck.

    Naturally, this causes the search pattern to be altered such that no results are returned.  This is the first time I have tried to use the % symbol in a RegEx search in PAD so not sure if it was a previous problem on an earlier version.  I am currently running version 2.45.393.24179.

  • Captivebird Profile Picture
    48 on 08 Feb 2023 at 01:48:47
    Re: Regular expression issue in Power Automate Desktop - Add backslash automatically

    Yes, it works. However, there are too many elements using Regular selector in my PAD and I hope Microsoft fix this issue ASAP.

    Thanks!

  • Pavel_NaNoi Profile Picture
    1,072 on 06 Feb 2023 at 14:54:57
    Re: Regular expression issue in Power Automate Desktop - Add backslash automatically

    interesting bug, for now as a work-around, select "Text-editor" in the top right and put in the regex manually, shouldn't add any extra slashes there.

  • Captivebird Profile Picture
    48 on 03 Feb 2023 at 05:18:31
    Re: Regular expression issue in Power Automate Desktop - Add backslash automatically

    It is happening across all the regular selector including the new and old selectors.

    It is an issue since PA version 2.7 and the issue still exists on latest version 2.8

  • MichaelAnnis Profile Picture
    5,721 Super User 2025 Season 1 on 02 Feb 2023 at 23:35:50
    Re: Regular expression issue in Power Automate Desktop - Add backslash automatically

    Is this happening across your regex selectors or just this one?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard