Alteryx Designer Desktop Discussions

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

Cleaning Column

HW1
9 - Comet

I have a column that looks like this:

 

Site Name
Abbotsford 4 Harper St - DELWP
Alfredton-8 Michaels Dr
Bairnsdale 535 Princes Hwy
Bairnsdale 574 Main St
Bairnsdale 7 Service St - DHHS
Ballarat 109 Armstrong St - DET
Ballarat 111 Armstrong St - DEDJTR
Ballarat 206-208 Mair St - DOJR
Bendigo Cnr Queen & Edward St - DHHS
Bendigo-57 Lansell St
Bendigo-71 Bridge St
Box Hill 703 Station St - DOJR
Broadmeadows 25-27 Dimboola Rd - DOJR
Broadmeadows 56 Coleraine St
Broadmeadows Cnr Pearcedale & Johnstone
Bundoora 20 Enterprise Dve - DEDJTR
Bundoora 8 Graduate Rd - VR
Burwood East 12 Lakeside Dve - VR
Carlton 459 Lygon St
Cheltenham 4-10 Jamieson St - DHHS
GEELONG WEST-59-63 SPRING ST

 

 

I want it to be formatted as:

Site NameDenomination
Abbotsford 4 Harper StDELWP
Alfredton-8 Michaels Dr 
Bairnsdale 535 Princes Hwy 
Bairnsdale 574 Main St 
Bairnsdale 7 Service StDHHS
Ballarat 109 Armstrong StDET
Ballarat 111 Armstrong StDEDJTR
Ballarat 206-208 Mair StDOJR
Bendigo Cnr Queen & Edward St DHHS
Bendigo-57 Lansell St 
Bendigo-71 Bridge St 
Box Hill 703 Station StDOJR
Broadmeadows 25-27 Dimboola RdDOJR
Broadmeadows 56 Coleraine St 
Broadmeadows Cnr Pearcedale & Johnstone 
Bundoora 20 Enterprise DveDEDJTR
Bundoora 8 Graduate RdVR
Burwood East 12 Lakeside DveVR
Carlton 459 Lygon St 
Cheltenham 4-10 Jamieson StDHHS
Geelong West-59-63 Spring StST

 

The actions to be performed:
Regex Split with delimiter as '-' before the last text

Change case to title case

 

I am really weak in regex hence, requesting help.

 

Thanks.

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@HW1 
I tried with RegEx Parse

Capture2.PNG

messi007
15 - Aurora
15 - Aurora

Hello,

 

Please see below:

 

messi007_0-1615797495150.png

Hope this helps,

Attache the workflow,

Regards,

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels