Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 2tpeBafJLxlKQV6iKq8GKa
Power Automate - General Discussion
Suggested answer

does power automate support regex?

Like (0) ShareShare
ReportReport
Posted on 6 Apr 2023 18:28:45 by 432

like so:

split('Your input text here', '[^a-zA-Z\n]+')

 

if not, how do I remove all non alpha-numeric characters, so anything thats not a number or a letter, from a string or array of strings?

 

i saw one regex activity but it needed an api key? 

  • Suggested answer
    Matkje Profile Picture
    22 on 21 Aug 2024 at 04:56:26
    does power automate support regex?
    Hey
     
    Parse Text action allow for RegEx input. So if you have or can get the data you need RegEx'ed into a word file or a clipboard text, then you can manipulate it via Parse Text.
     
     
    Best regards
    Mathias Kjeldsen 
  • Rhiassuring Profile Picture
    8,688 Super User 2025 Season 1 on 06 Apr 2023 at 18:39:25
    Re: does power automate support regex?

    There's no RegEx in Power Automate but you can use an Office Script to get around that.

     

    Check this post out, by Paul Murana

     

    https://www.tachytelic.net/2021/04/power-automate-regex/

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard