Forum Discussion
EmPaulin
7 months agoPractitioner III
REGEX - best use cases
I've been using Regex for locating emails (particularly invalid ones) but any other more advanced uses that you might have for Regex? would love to hear / read about them.
Joseph_C
7 months agoPractitioner II
Maybe not "advanced" but I used regex a lot to build target audiences based on attributes using strings.
We had custom attributes like `favorite_location` stored like:`San Francisco, CA, Dalas, Tx, Texas, Carthage, NY`
Building the audience, I could copy and paste a list: `San Francisco|Palo Alto|Oakland` so that I didn't need to select hundreds. Or just to target everyone in California, I'd set regex = `,\sCA`.
Related Content
- 9 months ago
- 18 days ago