Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Filter records which have 2 or more capital letters together

vlad_kutateladze
8 - Asteroid

Hi, 

 

I have two type of records in dateset 

 

Example1: GasStation

Example2: titaniumMOBILEPHONES

 

I need to separate words. I first case I separate them by capital letters, but for second type of data it not works. 

How can I filter records which have 2 or more capital letters together? 

Thanks.   

4 REPLIES 4
MarqueeCrew
20 - Arcturus
20 - Arcturus

Here goes:

 

 Regex_Match([text],".*\u{2,}.*",0)

 

it will be true if ever ther are 2 caps together

 

 cheers,

 

mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
vlad_kutateladze
8 - Asteroid

@MarqueeCrew Thank you! 

zeb27
5 - Atom

Hello Mark, 

 

Quick question on this Regex (brilliant by the way), how could I filter records that start with two capital letters? So only the first two letters need to be capitalized in order to be filtered.

 

Thank you!

sparksun
11 - Bolide

sparksun_0-1604631751048.png

Is this what you expect?

Labels