- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
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 ?
@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.
Hi @v-ynaik
I would post this into the new Product Ideas forum.
This is a perfect candidate.
Regards,
Adrian
Copyright All Rights Reserved © 2008-2023