Alteryx Designer Desktop Discussions

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

Delete a specific string of characters delimited by commas

tutankamon
7 - Meteor

Hi everyone! I am trying to identify if in a row, the sequence of characters "c/v" shows up, and if it does, eliminate all the characters between the previous comma and the following comma. I attach a sample of the input dataset and how I would like to transform it.

 

 

Output.png

Parsing.png

Thanks in advance!!

 

 

2 REPLIES 2
jdunkerley79
ACE Emeritus
ACE Emeritus

I would suggest a formula tool with an expression something like

Regex_replace([Field1], ",[^,]+c/v[^,]+,",",")


Not in front of Alteryx but should be close to what you need

tutankamon
7 - Meteor

Thank you very much! It works perfectly!!

Labels