Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!

Regex again in SQL

Avatar

Level 3

Hi,

In MySQl, we have the ability to query using regex expressions, like:

mysql > SELECT name, name LIKE '%ns' ends_in_ns
-> FROM department;

...which yields:

ends.png

This example retrieves all the department names (fields) that name ends in “ns” as in "Operations," "Loans."

My question is, can we also include regex expressions as part of the value (SQL equivalent of "LIKE" or "INCLUDES," etc. plus regex (for example, "j%n.com" to include all email addresses starting with "j" and ending in "n") to query in the Query activity?

3 Replies

Avatar

Employee

Hi,

Could you please provide some more details where are you trying to implement this use case.

Are you trying to create a query using regex expressions in Adobe Campaign Console

Avatar

Level 10

In Adobe campaign query can be achieved with like operator.

1436751_pastedImage_0.png

Regards,

Amit