![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Apr 2005
Posts: 2
Rep Power: 0
![]() |
Regular expressions - extracting what's found
I have a bunch of lines of the format
(02:25:26) user: message More precisely, in the language of regular expressions, (\d+:\d+:\d+) .+:.* What's the easiest way to extract the timestamp, user, and message from such a line? scanf can't quite do it. Thanks, - Mike Nolan |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|