Skip to main content

Power BI

Needs Votes

Regular Expressions support in Power Query

Vote (993) 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 (79)
Marco's profile image Profile Picture

Power BI User on 05 Jul 2020 22:50:49

RE: Regular Expressions support in Power Query

Why is this taking this long to implement?

Marco's profile image Profile Picture

Aleksey on 05 Jul 2020 22:47:18

RE: Regular Expressions support in Power Query

I'd like create tables based on regex ran against a log file.

Marco's profile image Profile Picture

Power BI User on 05 Jul 2020 22:46:32

RE: Regular Expressions support in Power Query

I agree, please put in your backlog

Marco's profile image Profile Picture

Sean Horowitz on 05 Jul 2020 22:41:35

RE: Regular Expressions support in Power Query

Is there any movement on this issue? Regex support would greatly improve adoption and use of Power Query/M Script, I know a number of potential users that find this a missing feature that results in far too many tedious and complex workarounds to solve data clean up and pattern matching issues that would be relatively simple with regex.

Marco's profile image Profile Picture

Jannis Lietzau on 05 Jul 2020 22:41:27

RE: Regular Expressions support in Power Query

This would be very, very helpful. Please implement!
Strongly supported this feature with 3 Votes!

Marco's profile image Profile Picture

Borja on 05 Jul 2020 22:37:00

RE: Regular Expressions support in Power Query

Totally agree!! I really miss this in Power Query

Marco's profile image Profile Picture

Power BI User on 05 Jul 2020 22:20:29

RE: Regular Expressions support in Power Query

example : remove {lf} from data but not {cr,lf}

Marco's profile image Profile Picture

Colin Banfield on 05 Jul 2020 22:03:58

RE: Regular Expressions support in Power Query

Just realized that this request is a duplication of the request in the following link: https://support.powerbi.com/forums/282523-bi-in-sql-vnext/suggestions/7260696-add-regular-expression-support-to-as-native-databa

The combined total is 30 votes. :)

Marco's profile image Profile Picture

Colin Banfield on 05 Jul 2020 22:03:47

RE: Regular Expressions support in Power Query

Absolutely required for advanced cleansing and validating data in columns.

Regex.Replace, Regex.Match, Regex.Matches, Regex.IsMatch, Regex.Split

Could also be part of Text functions, e.g., Text.RegexReplace

Merged Idea (2)