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

Insert a space using a Regular Expression

Hi!


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? 

Thanks!

Labels: (1)
0 Kudos
Reply
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