Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Obtain district from a postcode e.g. SL4, LL58

ramanm43
Meteoroide

Hi,

 

Not sure what to use in the RegEx to obtain only the first part of a postcode? Currently, I have (\u+) but this does not return digits.

 

Input = LL58 1AP

Required Output = LL58

 

thanks for any help.

1 RESPONDER 1
MarqueeCrew
20 - Arcturus
20 - Arcturus

@ramanm43 ,

 

 this should solve for you without regex:

 

Getword([input],0)

 

 cheers,

 

mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Rótulos
Autores com maior número de soluções