I have a string that I would like to replace spaces with colons. I am getting hung up on a few places.
ex. $string = "0010863 2 0.00 0.00 Closed as complete GMB DX"
I would like the to place colons:
$string = "0010863:2:0.00:0.00:Closed as complete:GMB:DX"
I was hoping to do this with a regex, but I am not very good with them. Any help would great :).