"\s+" means "match any white space characters", so the regex will
match any number of tabs, spaces, crs, and/or lfs.


On 4/16/07, vamsi <[EMAIL PROTECTED]> wrote:
> thanks for your help and it is working for single return... however i have 2 
> carriage returns after first line.
>
> ex: data="first line
>
> second line"
>
> so it will appear as "first line \r\n\r\r second line" ...
>
> could you please help what need to be added for regular expression to solve 
> this issue.
>
> Thanks in Advance.
>
> Regards
> Vamsi
> _______________________________________________
> Wtr-general mailing list
> Wtr-general@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to