Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Insert a space using a Regular Expression


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? 


Labels: (1)
0 Kudos
1 Reply
Workflow Hero

Re: Insert a space using a Regular Expression

It is working fine in SP 2013.

0 Kudos
Accept as Solution Reply