in reply to A Question on Regex

If you are using perl 5.010 or newer then you can use say instead of print, this will automatically put \n at the end of a line. If you are using \n in the middle of a line the try appending things together with . I'm sure you'll work kit out. bennierounder