I’m new to regex… but here goes.
So, Let’s say I have this data.
13579,24680,13579,24680
13579,24680,13579,24680
13579,24680,13579,24680
13579,24680,13579,24680
So what I want is for it to replace the first comma, and the last comma with nothing. So I just end up with:
1357924680,1357924680
1357924680,1357924680
1357924680,1357924680
1357924680,1357924680
After it goes through.
I was thinking of a pattern somewhere along ^([^,]+),
But as you can tell, this doesn’t work. Any suggestions or should I rethink what I use to do this?
Try something like this: