Search found 21 matches

by bad959fl
Thu Feb 24, 2011 9:47 pm
Forum: General
Topic: Removing Names From Email List
Replies: 2
Views: 157

Perfect! Thanks so much for your help :)
by bad959fl
Thu Feb 24, 2011 4:07 pm
Forum: General
Topic: Removing Names From Email List
Replies: 2
Views: 157

Removing Names From Email List

Hi Everyone,

I have a large database of email addresses in a text file but many of the entries have the full name of the person. I'm trying to find a command in TextPad to do the following:

--------------------------------------
FROM THIS:
John Smith <name1@email.com>
Jane Smith <name2@email.com ...
by bad959fl
Fri Jun 29, 2007 8:03 pm
Forum: General
Topic: Extracting Email Addresses Only
Replies: 9
Views: 446

Ah, wrote too soon. It seems like there are many entries which still left the username in the line with a space after it. Is there a way to remove all extra spaces only at the end of the line? This way, I can weed them out and do a search for the username spaces after that.
by bad959fl
Fri Jun 29, 2007 7:48 pm
Forum: General
Topic: Extracting Email Addresses Only
Replies: 9
Views: 446

Great, worked perfectly! Thanks guys :)
by bad959fl
Fri Jun 29, 2007 2:45 am
Forum: General
Topic: Extracting Email Addresses Only
Replies: 9
Views: 446

Turned on POSIX and now it removes everything (reg exp: on). Here are my setting:

Find What: ^.+[[:blank:]]
Replace with: nothing
by bad959fl
Fri Jun 29, 2007 2:23 am
Forum: General
Topic: Extracting Email Addresses Only
Replies: 9
Views: 446

Hi Bob,

Thanks but it seemed to remove all the lines but one. The text file is listed with over 10K lines like this:

-------------------------------------
username1 email@email1.com
username2 email@email2.com
username3 email@email3.com
-------------------------------------

I want it to end up ...
by bad959fl
Fri Jun 29, 2007 12:07 am
Forum: General
Topic: Extracting Email Addresses Only
Replies: 9
Views: 446

Extracting Email Addresses Only

I just extracted over 10K user accounts from our forum and it ended up in this format:

username user@email.com

How can I extract only the email address from this line? I tried bookmarking "@", but it picked up the username also. Any thoughts?
by bad959fl
Fri Mar 24, 2006 7:42 pm
Forum: General
Topic: Finding Duplicate Commans in Lines
Replies: 1
Views: 252

Finding Duplicate Commans in Lines

Hello,

I'm trying to import a mailing list of 20K entries into a new program and I receive this error when importing my csv file:

warning: Read wrong fields number count: '3' expected 2

Since I only have 2 fields in the list (email/name), I'm assuming that some of my entries have more than 1 ...
by bad959fl
Tue Nov 15, 2005 3:36 pm
Forum: General
Topic: Removing Everything But Email Address
Replies: 1
Views: 230

Removing Everything But Email Address

Hello Everyone.

I need to figure out how to remove everything from a file while keeping only the email addresses. For example, my original file looks like this:

----------------------
test test test email@email.com blah blah
blah blah blah blah blah blah blah blah
blah blah blah blah test@test ...
by bad959fl
Sat Jul 16, 2005 7:09 pm
Forum: General
Topic: Need Help Adjusting Lines
Replies: 11
Views: 604

ben_josephs-

Pefect. Thanks again for all your help.
by bad959fl
Thu Jul 14, 2005 10:32 pm
Forum: General
Topic: Need Help Adjusting Lines
Replies: 11
Views: 604

ben_josephs-

Thanks for all your help on the past questions. I have two more quick questions for you. I need to figure out a way to take entries on my newsletter list like this:


email@email.com,John
email2@email2.com,Mike
email3@email3.com,Steve


The end result willl remove the first names and ...
by bad959fl
Tue Jun 28, 2005 2:35 pm
Forum: General
Topic: Need Help Adjusting Lines
Replies: 11
Views: 604

ben_josephs-

Great, thanks for all your help! I really appreciate it.
by bad959fl
Tue Jun 28, 2005 2:09 pm
Forum: General
Topic: Need Help Adjusting Lines
Replies: 11
Views: 604

ben_josephs-

Perfect! You saved me a ton of time.

However, I just ran into a small issue. I have have my list of email addresses and when I sort them for duplicates, I can't see which emails are being removed in TextPad. So, I take the file and run it in SSH with this Unix command:


uniq -d ...
by bad959fl
Tue Jun 28, 2005 1:30 pm
Forum: General
Topic: Need Help Adjusting Lines
Replies: 11
Views: 604

ben_josephs-

Awesome! Works perfectly. My last concern is how to setup the file, so the end result looks like this:

Before:


email1@email1.com
firstname

email2@email2.com
firstname

email3@email3.com
firstname



After:


"email1@email1.com","firstname"
"email2@email2.com","firstname ...
by bad959fl
Tue Jun 28, 2005 3:01 am
Forum: General
Topic: Need Help Adjusting Lines
Replies: 11
Views: 604

The file looks like this:

Code: Select all

name@email.com 
firstname 

name2@email2.com 
firstname2 

name3@email.com 
firstname3 

name4@email2.com 
firstname4