On Jan 4, 2007, at 5:55 AM, Josselin wrote:

> forgot to mention what I wwrote until now :
>
>> to_string.split(%r{\r\n\s*})  which gives me teh addresses  
>> separated by  \r\n , but I missed the addresses separated by spaces

You can split() on any whitespace characters with:

   to_string.split

That seems easier than a regex to match an email.

James Edward Gray II