From: ciapecki Date: 2008-03-19T18:00:04+09:00 Subject: regexp conditional Hi, How could I easily do the following?: input = '111|"aaaa" bbbbb|c' I would like to get as output following: output = '111|"""aaa"" bbbbb"|c' to correct wrongly prepared pipe separated file with enclosing the equation characters. thanks chris