On Fri, Jun 29, 2012 at 3:49 AM, Mihamina Rakotomandimby
<miham...@rktmb.org> wrote:
> I have a /var/log/messages and /var/log/syslog file to parse to extract
> information from.
> I have the to extract the date, and some information in the line.
> I just need help on the right regexp function to use.
> Would you know some PHP/regexp tutorials for that?

The best documentation I've ever found on Regexes is O'Reilly's
"Mastering Regular Expressions" (3rd ed is 2006, but REs haven't
changed since then).


Only problem is it is hella expensive. (Well another problem is it is
hella big: >500 pages.)

Apart from that, there are *tons* of tutorials on the net. Just google
up "regular expression tutorials" and you should see pages and pages
of them.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to