Classification Builder

Avatar

Avatar

1982luca

Avatar

1982luca

1982luca

07-01-2021

Hello everyone,

 

I have a question on Classification Builder. I want to map(filter) all empty value like " " with N/A and map NOT empty value with its value

How can I build the regex?

Thanks

View Entire Topic

Avatar

Avatar

yuhuisg

Avatar

yuhuisg

yuhuisg

07-01-2021

You could use this RegEx pattern to match an empty string.

^$

^ means match from the start of the string.

$ means match up to the end of the string.

Or you can use the RegEx pattern 

^(?![\s\S])

Reference: https://stackoverflow.com/a/28652413