Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!

Segment to exclude all numeric strings coming in as Null

Avatar

Level 2

I'm pulling a null terms report, however, due to bot activity, we're seeing a lot of results coming in as numeric strings. i.e. 0656547899.

 

How do I create a segment that will exclude these numeric strings from the results? I created a segment using the "does not contain" then specified 1,2,3 and so on. This does exclude these numeric strings, however, it also excludes terms that contain any number which is not what I want. 

 

Is there a way to exclude only the numeric strings while still keeping the terms that contain numbers?

 

Thanks

3 Replies

Avatar

Community Advisor and Adobe Champion

You could try making a segment that contains letters. Instead of excluding numbers, insist that the item contains a letter. Use "contains any term", which is space delimited, and then just put the whole alphabet separated by spaces like below. This way if it has only numbers it won't be included, but if it has numbers and letters it will be kept.

 

Mandy314_0-1660336731878.png

 

Avatar

Adobe Champion

In the future, you will probably get cleaner segments if you use an 'exclude' container instead of 'does not contain'.