in reply to Re: Parsing Text into CSV
in thread Parsing Text into CSV
I figured I'd add to radiant.matrix's code likeLast Login: (none) (interactive), (none) (non-in +teractive) Last Login: (none) (interactive), 12-SEP-1997 11:33 (non-in +teractive) Last Login: 11-JUL-2002 18:08 (interactive), (none) (non-in +teractive)
but it's giving an error 'Unrecognized escape \d passed through..' I figure adding a condition to BrowserUK's regexp would work, too.../^Last Login:\s+.*,\s*(\d+.*?\:\d+)/ and print "$1,$2\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Parsing Text into CSV
by BrowserUk (Patriarch) on Jan 19, 2006 at 21:38 UTC | |
by bowei_99 (Friar) on Jan 20, 2006 at 05:34 UTC |