#!/usr/bin/perl -wl $/ = "%%%"; while (<DATA>) { chomp; print if /Email/; # Change to suit } __DATA__ Name: name Phone: number Fax: number Address: address Email: email address Info: information %%% Name: name Phone: number Fax: number Address: address Email: email address Info: information
--
John.
In reply to Re: Searching log file by %%%
by jmcnamara
in thread Searching log file by %%%
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |