Ready for Dataiku 9? Try out the Crash Course on new features! GET STARTED

Recipe Filter with

Solved!
OlivierAb
Level 3
Recipe Filter with

Hello,

I want to check if a variable in my dataset contains an uppercase letter. For this I want to use the "Sample / Filter" recipe with the following regular expression: [A-Z]
It does not work
I also tried to write the regular expression like this: / [A-Z] / or like this : ([A-Z ])
It also doesn't work

Thank you for your help, Olivier

0 Kudos
2 Solutions
DamienJ
Dataiker
Dataiker

Hello @OlivierAb ,

Use this regex instead:

.*[A-Z].*

Best,

Damien 

Damien Jacquemart, Lead Data Scientist @Dataiku

View solution in original post

OlivierAb
Level 3
Author

.*[A-Z].* works 🙂

Thank you Damien

View solution in original post

0 Kudos
3 Replies
DamienJ
Dataiker
Dataiker

Hello @OlivierAb ,

Use this regex instead:

.*[A-Z].*

Best,

Damien 

Damien Jacquemart, Lead Data Scientist @Dataiku

View solution in original post

OlivierAb
Level 3
Author

Thank you Damien

I did use a formula and it works.
But I would have liked to use the "Sample / Filter" recipe with the option "matches the regex"

Olivier

0 Kudos
OlivierAb
Level 3
Author

.*[A-Z].* works 🙂

Thank you Damien

View solution in original post

0 Kudos
A banner prompting to get Dataiku DSS