Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Remove Page Breaks or special character

luizbezerra
6 - Meteoroid

Good Morning ! I do a reading of a text file that has a page break and I can not remove the special character, I have already used some functions and objects like Data Cleasing and Regex, but the line is generated blank, if we visualize there is a character symbol. Has anyone had this problem yet?Capturar.JPG

3 REPLIES 3
jdunkerley79
ACE Emeritus
ACE Emeritus

You could try to identify the specific character code using the CharToInt function. That might make it easy to identify what you need to replace.

 

You could also do a REGEX function like:

REGEX_Replace([Field_1],"[^\w ()-\\/{}\[\]]","\b")

WHere you define the allowed characters in the square brackets after the ^.

luizbezerra
6 - Meteoroid

Actually for integer brings the value 12 to localized line, but does not replace the special character, I'm attaching an example text to get idea 

jdunkerley79
ACE Emeritus
ACE Emeritus

This expression will get rid of them:

Replace([Field_1], CharFromInt(12),"")

Then should be able to be processed as you want

Labels