ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Separate Letters from Specific Rows

calvincarr29
Asteroide

How do make this:

Screenshot 2024-09-03 080007.png

Look like this?

Screenshot 2024-09-03 080656.png

2 RESPUESTAS 2
cjaneczko
Púlsar

The following should work for your use case.

 

image.png

image.png

 

 

If REGEX_Match([Column1], '([A-Za-z])(\s)(.+)') then Regex_Replace([Column1], '([A-Za-z])(\s)(.+)','$1') else null() endif

 

 

 

If REGEX_Match([Column1], '([A-Za-z])(\s)(.+)') then Regex_Replace([Column1], '([A-Za-z])(\s)(.+)','$3') else [Column1] endif

 

 

Medha31
Asteroide

Use a RegEx tool and use the following expression: (.)\s.*

Set the output method to parse and set column to parse as your column 1. Attached is a sample workflow for reference. 

Below is a screenshot of the same.

 

This regular expression finds your single character followed by a space if it exists, if it cannot find that pattern, it returns null. 

 
 

 

Etiquetas
Autores con mayor cantidad de soluciones