Apache Log to CSV This regular expression is for converting lines of Apache log files into CSV (Comma Separated Values). Find ^(\d+.\d+.\d+.\d+) - - (\[.+\]) "(.+) (.+) (H.+)" (\d{3}) (\d+) (".+") (".+")$ Replace $1, $2, $3, $4, $5, $6, $7, $8, $9