Skip to main content
Microsoft Idea

Power BI

Needs Votes

Regular Expressions support in Power Query

Vote (970) Share
Marco's profile image

Marco on 16 Jul 2015 14:17:27

We think regexp support will help the adoption of the Power Query tool in the most demanding use cases. Many thanks.

Comments (76)
Marco's profile image Profile Picture

Kevin Gunther-Canada on 29 Jun 2022 21:02:37

RE: Regular Expressions support in Power Query

Good grief, this idea was originally posted SEVEN years ago! And still it's not taken up by the PowerBI team?

Marco's profile image Profile Picture

Michael Marx on 08 Jun 2022 09:56:38

RE: Regular Expressions support in Power Query

It gets even worse when ETL runs in PBI data flows. Here you can't use the Python or R workarounds because they are not supported in the PBI service.Please add Regex to dataflows as well!

Marco's profile image Profile Picture

Andrew H on 17 May 2022 06:34:51

RE: Regular Expressions support in Power Query

Assuming MS have written PowerQuery in .NET, it would be easy passthru tech to enable regex ... such a quick win, it's surprising it hasn't already been added really.

Marco's profile image Profile Picture

Shaun Titus on 28 Feb 2022 14:41:04

RE: Regular Expressions support in Power Query

You can use the python plugin to do REGEX but it is tedious. I would much prefer to have it available natively in Power Query.

Marco's profile image Profile Picture

Hongmei JIA on 28 Jan 2022 16:37:26

RE: Regular Expressions support in Power Query

Definitely need this basic function for any data manupulation. Can't believe it's not included.

Marco's profile image Profile Picture

Mauro Canarecci on 01 Nov 2021 21:54:30

RE: Regular Expressions support in Power Query

Regex support is one of functionality I miss most in PowerQuery. Doing multiple "substitute values" is awkward

Marco's profile image Profile Picture

Christian Winheller on 13 Sep 2021 14:10:01

RE: Regular Expressions support in Power Query

Please provide this

Marco's profile image Profile Picture

Nic Ecker on 25 Aug 2021 15:28:25

RE: Regular Expressions support in Power Query

Just wasted two days on filtering issues that would have been solved in 5 minutes with regular expressions. This is not only badly needed, it should be a basic feature of Power Query !!

Marco's profile image Profile Picture

Sira Ekabut on 20 Jul 2021 14:22:04

RE: Regular Expressions support in Power Query

I've created Custom M Code function to let Power Query in Excel & Power BI able to use RegEx.
pls feel free to try my code. https://www.thepexcel.com/power-query-regex/

Marco's profile image Profile Picture

Dave Welden on 02 Jul 2021 21:07:30

RE: Regular Expressions support in Power Query

It's 2021 and Microsoft ♥ Linux. Time for some Regular Expression ♥ for Power Query. Can't be that hard to add from the .Net libraries.

Merged Idea (2)