AnsweredAssumed Answered

Insert a space using a Regular Expression

Question asked by drogon on Feb 27, 2018
Latest reply on Feb 27, 2018 by lakshminarayana


I have a string that goes ItemA,ItemB,ItemC,ItemD etc. 


What I want is: ItemA, ItemB, ItemC, ItemD   - essentially a space after each comma


I've tried using a Regular Expression to replace "," with ", " but it ignores the space after the comma, and I keep ending up with a list that has no spaces (the exact thing I'm trying to get rid of).


I also tried replacing "," with \s and %20, and both gave me those characters instead of spaces. 


What am I doing wrong?