Changes are on the way!
Braze Bonfire is read-only from April 6–April 13, 2026. 

Braze Bonfire is getting an upgrade. From April 6 through April 13, 2026, Bonfire will be read-only while we tinker behind the scenes to improve your experience in the community. Read more.

Google Tag Manager

Forum Discussion

geenawakeley's avatar
geenawakeley
Collaborator
5 months ago

Custom Attribute - Regex Expression Help

Hi!

I am looking to filter on a custom attribute in a canvas audience paths, but I want to do a contains statement.

I am trying to reference multiple attributes with out having to list each specific value as the trigger. The attribute naming convention works were I could use contains.

Thinking I can use a targeting filter where custom attribute matches regex. However, are there any special characters that need to be added to/around "signup" in the attribute value?

Thanks!

1 Reply

  • The vertical pipe symbol | is regex for OR. No special characters are needed for contains.

    For example, color matches regex red|blue would match on red, blue, and light blue.