Regex / Patterns in the Condition Builder

sudharsanv36
Kilo Guru

Hello Experts,

We are working on a way to figure out to build a condition.

For a string value we need to check whether it contains space. We are trying to do the same in condition builder like "short_descriptionCONTAINS<space>" but we failed.

Is there any way to achieve the above with Regular Expression / Patterns by leveraging OOB condition builder blocks?

Appreciate your help.

5 REPLIES 5

Aakash Shah4
Tera Guru

Hi Sudharshan,



you can use the matches regex option in the condition builder


find_real_file.png


and add the condition-> /^\s+$/


sudharsanv36
Kilo Guru

Hi Aakash,



We tried the same and it's not working.


Hi Aakash,



Thanks for the link, that helped me to solve the issue.



Just thought of letting you know, regex on the condition builder automatically add "start of the line" - "/^" and "end of the line" - "$/" so I just added the in between characters for the validation.



Voila, it worked!!