Re: how to replace multiple whit space with ", ".



Bernard van de Koppel wrote:
> Hi,

Hello,

> How can I replace multiple white space with ", " (comma space).
>
> "this is a space"
>
> should be changed to
> "this, is a, space"

s/ +/, /g


John
--
use Perl;
program
fulfillment
.



Relevant Pages