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
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to