Replace if not between
What I'm trying to figure out is how I can perform a regex replace if possible on a string that will only match spaces Not between the " and " and replace it with ;. But I can't figure out how? Can anyone please help me?
What I have:
#VER L 6 20200625 "Utbetalning: 2020-10-06 - nummer: 5" 20200617
What I want to achieve:
#VER;L;6;20200625;"Utbetalning: 2020-10-06 - nummer: 5";20200617
Thanks in advance!
from Recent Questions - Stack Overflow https://ift.tt/2JnnQqa
https://ift.tt/eA8V8J
Comments
Post a Comment