Forum Discussion

Dicken's avatar
Dicken
Post Prodigy
4 months ago
Solved

exact text string patter test

hi, i've been experimentin with regex patterns and wondered about replicating in power query,  so this does seem to work, but can anyone suggest simpler / better way, so here i want to test for a pa...
  • lbendlin's avatar
    4 months ago

    You would want to check that you string has exactly 7 characters. Then you would only need to test for Text.Middle.

     

    Word of advice: Power Query is case sensitive.