loadrule with regularExpression

Bronze Contributor
Bronze Contributor

Hi Team,

Is there a way in tealium to set the regex loadrule condition ?

For example : I have a data variable called utag_data['dom.query_string'] = "something@test.com&falconfallback=true", which may contains some email patterns. My loadrule should be able to check if the value for the variable- utag_data['dom.query_string'] doesNotContains any email pattern then only need to configure a tag.

Can somebody suggest me how we can do this ?


loadrule with regularExpression

Gold Contributor
Gold Contributor

@v-ynaik you have to fiddle a bit around with this, but a possible regex could be:


It means all patterns/urls that have no @ after the ? Is that specific enough? Otherwise you have to play with it in an online regex tool. And look for "negative lookaheads" in Google, cause that's what you're looking for.


Freelance Web Analist

loadrule with regularExpression

Tealium Employee

Hi @v-ynaik

I would post this into the new Product Ideas forum.
This is a perfect candidate.



Ask me anything Tealium related or TypeScript/JavaScript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.