Alteryx Designer Desktop Discussions

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

Divide String ABCadMunicipalMarketBudget to ABCad Municipal Market Budget

saachitalwar
7 - Meteor

How can I transform a string like the aforementioned method

13 REPLIES 13
BS_THE_ANALYST
14 - Magnetar

@saachitalwar please don't drip feed the test cases. It's not good for anyone's time. 

 

If you have a complete list of test cases, provide them. 

 

All the best,

BS

saachitalwar
7 - Meteor

test cases:

 

ABCad100%U.S.Budget - required - ABCad 100% U.S. Budget

 

ABCadU.S.MarketBudget - ABCad U.S. Market Budget

 

MainFundABC - Main Fund ABC

OllieClarke
15 - Aurora
15 - Aurora

HI @saachitalwar 

I think I've captured all your test cases. As @BS_THE_ANALYST said, if there are more then please provide a full list. RegEx works by spotting patterns, and if the data is incomplete, then it's very likely the patterns we've spotted aren't accurate.

image.png

Instead of writing one complicated RegEx, I've used multiple iterations of simpler ones.

Hope that helps,

 

Ollie

edit: Apologies, was a typo in my initial post. Updated now

Raj
14 - Magnetar

@saachitalwar 
hope this helps.

Labels