I think you want to keep your non english character as well (in other words you only want to remove punctuations like ./- etc) Your best bet is to use replace function if you want to consider non english characters. The only drawback is that you will have to specific each character individually. For example: if no dot (.) is desired in output, insert dot as given below (same thing for the dash). I'm no expert on this but I thought this may give you some ideas.. Replace(Replace([F1],".",""),"-","") Answer from fomenter on community.alteryx.com
Discussions

regex match special characters
hi everyone, I need a little help with cleaning my dataset. I have a regex already for my exercise but it isn't covering everything. I need to replace characters in a field itself if it has only: * - --- -- - .. . / blank empty 0 Is it possible to have all this in 1 expression? for now I have ... More on community.alteryx.com
🌐 community.alteryx.com
February 9, 2021
Regex to remove special characters
This gets rid of all characters that are not special letters, spaces or numbers. ... Remove any characters from the incoming field that are outside of the range of ASCII values from "space" to "~". ... Below is the ASCII table where you can see the range 32(space) - 126(~), so any characters that fall other than this range will get replaced with '' ... @binu_acs that's actually very interesting to read I will definitely read more into regex ... More on community.alteryx.com
🌐 community.alteryx.com
January 5, 2023
RegexReplace function
Field1 is the input in below snip: I have encircled the output I want the output using Regex_replace(String,Pattern,Replace) function. Basically I want 2 characters that lie on the either side of the backslash "/" along with the backlash RegexReplace_get data around backslash.yxmd More on community.alteryx.com
🌐 community.alteryx.com
September 6, 2022
Removing special characters from multiple fields
I have a requirement to remove ... \ @ and replace them with space · the only 2 special characters that I need to retain are - & ... I am missing something obvious because I am quite sure that you can do that with one multi-field tool but I am not sure how to make it work. ... Emil, thanks for your help. I will take a look and also wait for other experts to chime in! ... @Emil_Kos - FYI I think your formula doesn't account for special characters in regex (ie "!","(", ... More on community.alteryx.com
🌐 community.alteryx.com
June 11, 2021
🌐
Alteryx
community.alteryx.com › home › participate › discussions › alteryx one
Regex Special Characters - Alteryx
September 15, 2020 - Thai Kitchenâ® · ShareShare ... · Accepted Answer · Sep 15, 2020 · @jonathangonzales , How about: REGEX_Replace([Field1], "[^ -~]", '') It will eliminate things not in the ascii range of BLANK to TILDE ...
🌐
Alteryx Community
community.alteryx.com › t5 › Alteryx-Designer-Desktop-Discussions › Replace-Special-Characters-in-a-String › td-p › 721862
Replace Special Characters in a String - Alteryx Community
February 22, 2021 - Hi @JagdeeshN, as suggested by others, the Replace() function should help you replace " with \". The only point to keep in mind is that your original string has non-standard Alteryx quotes which Alteryx treats as a special string, in which case you will have to write some form of nested Replace function to replace
🌐
Alteryx Community
community.alteryx.com › t5 › Alteryx-Designer-Desktop-Discussions › Find-and-Replace-Special-characters-Header › td-p › 972269
Find and Replace Special characters - Header - Alteryx Community
July 21, 2022 - REGEX_Replace([test], '\W', '_') (which will replace all non words characters) If you use the field info method, you could have a mapping table of all the the chars you want to replace and combine it with a find and replace tool for instance ...
🌐
Alteryx Community
community.alteryx.com › home › participate › discussions › alteryx one
regex match special characters - Alteryx
February 9, 2021 - hi everyone, I need a little help with cleaning my dataset. I have a regex already for my exercise but it isn't covering everything. I need to replace characters in a field itself if it has only: * - --- -- - .. . / blank empty 0 Is it possible to have all this in 1 expression? for now I have "^(\W)$" for now which…
Find elsewhere
🌐
Alteryx Community
community.alteryx.com › t5 › Alteryx-Designer-Desktop-Discussions › Replacing-certain-characters-in-a-string › td-p › 961919
Solved: Replacing certain characters in a string - Alteryx Community
June 13, 2024 - The replace function works in a similar way in that you define ([Target field], ‘target string’, ‘replacement’), and we can therefore just tell Alteryx to replace all remaining _ with a space ‘ ‘. Hope this helps! If you’d like to learn a little more about RegEx then there’s plenty of great materials online - can be a very powerful tool if you’re dealing with strings containing regular patterns that you need to tackle!
🌐
Thedataschool
thedataschool.com › oksana-kirschbaum › replace-special-characters-using-regex-in-tableau-alteryx-and-python
Replace special characters using RegEx in Tableau, Alteryx and python - The Data School
In this example we want to replace the distorted german characters into its proper form using Tableau, Alteryx and python. ... In Tableau we can create a Calculated Field and use the REGEXP_Replace function.
🌐
Alteryx
help.alteryx.com › current › en › designer › functions › string-functions.html
String Functions
The replace parameter can be either a specified value as shown below or a marked group, like "$1". Make sure that marked groups are wrapped in double quotes. icase is an optional parameter. When specified, the case must match. By default icase=1, which means ignore case. If set to 0, the case must match. REGEX_Replace("Don't reveal your Social Security number, 123-45-6789","\d{3}-\d{2}-\d{4}", "CLASSIFIED") returns Don't reveal your Social Security number, CLASSIFIED.
🌐
Alteryx Community
community.alteryx.com › t5 › Alteryx-Designer-Desktop-Discussions › Find-and-replace-Regex › td-p › 435296
Solved: Find and replace Regex - Alteryx Community
June 13, 2024 - Solved: Hi all I have chunks of texts where the character  is coming before every instance of ². Is there a way of replacing the special character,
🌐
Alteryx Community
community.alteryx.com › t5 › Alteryx-Designer-Desktop-Discussions › Regex-parsing-help-needed-with-Special-Characters-quot-lt-quot › td-p › 181546
Solved: Regex parsing help needed with Special Characters ... - Alteryx Community
June 13, 2024 - I am new with Alteryx and I am having issue parsing a column that contains the special characters "<" and ">" among other special characters which I am able to parse so far. However, I am stuck with these two "<" and ">" ... Solved! Go to Solution. ... Solved! Go to Solution. ... Hey @sdodero! This may not be the most efficient way to accomplish what you're looking for, but the below expression worked for me in a Formula tool: regex_replace(Replace(Replace([Field1], "<", ":"),">",":"),".*:(.*):.*","$1")
🌐
Alteryx Community
community.alteryx.com › t5 › Alteryx-Designer-Desktop-Discussions › RegexReplace-function › td-p › 996278
RegexReplace function - Alteryx Community
September 6, 2022 - REGEX_Replace([Field1], '.*(\S+\s+\S+\s+\/\s+\S+\s+\S+).*$', '$1') I've attached an updated workflow! ... @IraWatt I took a similar approach to you, but using \S rather than [^\s] to call non whitespace characters
🌐
Alteryx Community
community.alteryx.com › t5 › Alteryx-Designer-Desktop-Discussions › Help-with-Regex-Replace-to-remove-characters › td-p › 458895
Solved: Help with Regex Replace to remove characters - Alteryx Community
June 13, 2024 - REGEX_Replace([State|City], "[^\w\|\-\s]", "") It says replace everything that isn't alpha-numeric, a pipe, a hyphen, or a space, with nothing. Let me know if that helps. ... Not if you put the dash at the end.
🌐
Alteryx Community
community.alteryx.com › t5 › Alteryx-Designer-Desktop-Discussions › Remove-all-special-characters-from-the-start-and-end-of-a-string › td-p › 421643
Solved: Remove all special characters from the start and e... - Alteryx Community
June 13, 2024 - I would want the formula to say 'remove any special character, whatever it is/whatever they are, from the start of the string, to the left of the first number and to the right of the last number' 2) Removes the comma separators · What I have so far is this, but it requires me to define particular characters to remove: Tonumber(replacechar(trim(regex_replace([Amount],"^-0{1,}",'-'),"0"),"£,$",""),1) Can you point me in the right direction?
🌐
Alteryx Community
community.alteryx.com › home › participate › discussions › alteryx one
Trim or RegEx: How to remove string after special character
June 13, 2024 - (ToNumber(REGEX_Replace([YourData], '(\d+)-(\d+)', '$1'))+ToNumber(REGEX_Replace([YourData], '(\d+)-(\d+)', '$2')))/2