Re: [exim] REGEX help - Picking IP addresses out of Received…
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Este mensaje es parte del siguiente hilo:
El árbol completo de hilos, ordenados por fecha
Dan_Mitton, mensaje del
2007-06-06 20:06
John W. Baxter, mensaje del
2007-06-06 21:02
Autor:
Stanislaw Halik
Fecha:
2007-06-06 20:09
UTC
A:
exim-users
Asunto:
Re: [exim] REGEX help - Picking IP addresses out of Received Headers
On Wed, Jun 06, 2007, Marc Perkel wrote:
> I'm looking for regular expressions that I can use in Received headers
> to pick out IP addresses
/^from\s.*?\[([^ \]]+)\]/s
Some validation of the captured string will be necessary.
-- Whenever you find that you are on the side of the majority, it is time to reform. -- Mark Twain