I had this in my temp file:
abc 123 53432 t...@gmail.com
abc 123 53432 t...@gmail.com
abc 123 53432 t...@gmail.com
abc 123 53432 t...@gmail.com
abc 123 53432 t...@gmail.com
Running the following command:
perl -n -e 'm/.* ([^ ]+@.*)$/i; print $1."\n"' temp
will print:
t...@gmail.com
t...@gmail.
You can try the following regexp:
.*([^ ]+@.*)$
This assumes that the email address is the last string and all strings are
space separated.
-- Fruit Vendor
On Sun, Jul 13, 2014 at 3:43 PM, ESChamp wrote:
> I apologize for having to ask this but my nearly-80-year-old brain just
> could not c
I am not an expert in Perl, but wouldn't
$test_data =~ s/north/N./gi;
be sufficient?
Regards,
Tushar Jain
On Mon, Jan 28, 2013 at 2:42 PM, Nathan Hilterbrand wrote:
> On 01/28/2013 02:57 PM, Angela Barone wrote:
>
>> Hello,
>>
>> I'm trying to abbreviate ordinals(?) that occur only in