Variable: change empty value to Null

Hi, is there a way to modify a variable value?
My variable query returns an empty value sometimes and I need it to be Null in another query.
Screenshot 2022-11-01 at 08.50.52

is it possible to do it with regex?

What is the source data of this variable. I would handle it there then you have total control