From: "saurabh a." Date: 2011-08-12T02:48:51+09:00 Subject: parsing xml string into seprate line of string HI, Thanks for the help. i have a xml and want to parse it line by line. suppose i have abc = " 123 123 123 123 " and i want to parse it line by line. there could be any number of line. my output should be seperate string like "" "123" "123" "123" "123" "" how can i acheive this one using any string function or regular expression. Please help. Thanks Saurabh -- Posted via http://www.ruby-forum.com/.