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.

missing elements and inconsistent spacing

dona168lee
5 - Atom

Hello,

 

I'm working with data extracted from PDFs and using regex to format it into columns. I'm struggling with missing elements and inconsistent spacing that throw off my column alignment. Any suggestions for a more robust regex approach to handle these variations?

 

Does anyone help in this

 

 

 

Red humana

 

 

2 REPLIES 2
martinson
11 - Bolide

Hi, @dona168lee would using the data cleansing tool to remove duplicate whitespace be of help? Could you share some data that would better help me understand the problem?

 

Cheers

martinson

Cheers,
martinson

LinkedIN

Bulien
alexnajm
18 - Pollux
18 - Pollux

You can make your RegEx robust enough to understand spacing and when values should exist or not. But without data like @martinson indicated we'd just be guessing

Labels
Top Solution Authors