Check if string is empty with Regular Expression in Nintex

  • 5 January 2017
  • 3 replies
  • 5 views

Badge +7

Hi all,

I have a regex with check match in my workflow and want to see if the string is empty.

I tried the obvious: .

But it didn't work for some reason.

I could type in [0-9a-z]  etc. but that wouldn't involve # or & or ...

I tried ..* as well but it didn't work. Ideas?


3 replies

Badge +16

Can you instead use "Set a condition" action which has built in comparison to see if a string is empty?

Userlevel 3
Badge +9

Is there a reason you have to do this with RegEx?  You can use a Set a Condition action and check if a variable is empty, and then perform an action on it depending on the result. 

Set A Condition - Check if Empty

Userlevel 5
Badge +14

to check for empty string with regex use following pattern

^$

Reply