Try your hand at analyzing royal sentiment in Dataiku DSS! Learn more

Recipe Filter with

Level 2
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
3 Replies
Dataiker
Dataiker

Hello @OlivierAb ,

Use this regex instead:

.*[A-Z].*

Best,

Damien 

Damien Jacquemart, Lead Data Scientist @Dataiku
Level 2
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
Level 2
Author

.*[A-Z].* works 🙂

Thank you Damien

0 Kudos