Regex removing , space and replacing with ,

Hi, I am using the Text Replace Module to help remove the SPACE after a comma in a string of text…

Below is my module

I have a literal space after the , in Pattern…

I also tried Regex:


The regex isn’t working either.

Thanks in advance for your help

Use this pattern,


And, enable the global match and multiline flag.

1 Like

Thank you that did the trick. I’m kinda learning the regex now…it’s daunting at first but help from people like you and generators it makes a bit more sense.