/^$|\s+/ or (^$|\s+) without the /s or just ^$... or should I use a positive match on something like (.|\s)*\S(.|\s)* ... Will the simple negative matches work if the parameter just doesn't exist, or will the rule fail with an error because the parameter doesn't exist? GTM variables I would look for falsy javascript variables like undefined|NaN... Any guidance?