in reply to Re: How can group these stringsin thread How can group these strings
perl -p -e 's/(.*)(\n)(.*)/$1$3/g' text [download]