In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. 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.
SOLVED

Removing End of File Characters from the middle of a String

sbackhouse
6 - Meteoroid

Hi Community

 

I'm hoping you can help me with what I hope is a fairly simple query.

 

I have a ton of names where there appears to be some end of file character in the middle of the string.

 

I've attached a snip and you can see a square shape between the 'a' and the 'N'

 

If you copy and paste from Alteryx then the character has gone and you get 'MaNDEZ'. If you open in excel then you have a space when you copy into a cell which then disappears when you hit enter. If you open in notepad then you can see the square shape still.

 

I have tried using data cleansing (removing line breaks, tabs, duplicate whitespaces) but that didn't work.

 

Any help greatly appreciated!

 

Thanks

 

Steve

2 REPLIES 2
binu_acs
21 - Polaris

@sbackhouse Try the below formula

 

REGEX_Replace([Field1], "[^ -~]", '$1')

 

sbackhouse
6 - Meteoroid

It worked - thanks for the quick (and easy) response.

Labels
Top Solution Authors