Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-22-2003, 08:52 PM   #1
Sasha18
Confirmed User
 
Join Date: Dec 2002
Posts: 582
Need Help !!!!!

i have an email list which emails are located in this way

[email protected] sass@@hotmail.com [email protected]

what program do i use to make emails located in the right way ?

like
[email protected]
sass@@hotmail.com
[email protected]


__________________
Sasha18 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2003, 08:59 PM   #2
NetRodent
Confirmed User
 
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
[enter]
[space]
[space]
[space]
[space]
[space]
[space]
[space]
[space]
[space]
[enter]
[space]
[space]
[space]
[space]
[space]
[space]
[space]
[space]
[space]
[enter]

[space]
[space]
[space]
[space]
[space]
[space]
[space]
[space]
[space]
[enter]
[space]
[space]
[space]
[space]
[space]
[space]
[space]
[space]
[space]
[enter]
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
--H.L. Mencken
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2003, 09:01 PM   #3
Sasha18
Confirmed User
 
Join Date: Dec 2002
Posts: 582
its gonna take me whole day to do that
__________________
Sasha18 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2003, 09:04 PM   #4
NetRodent
Confirmed User
 
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
Better get started then...

Here's short perl script that might do the job assuming the file isn't huge.

#!/usr/bin/perl

$/ = undef;
open(IN, "<./input.txt");
$data = &lt;IN&gt;;
close IN;

$data =~ s/\s+/\n/g;

open(OUT, ">./output.txt");
print OUT $data;
close OUT;
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
--H.L. Mencken

Last edited by NetRodent; 02-22-2003 at 09:09 PM..
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2003, 10:17 PM   #5
Sasha18
Confirmed User
 
Join Date: Dec 2002
Posts: 582
what do i do with this perl script ?
__________________
Sasha18 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2003, 10:22 PM   #6
waste
Confirmed User
 
Join Date: Nov 2001
Location: Baltimore
Posts: 770
why not just open it in dreamweaver and do a find and replace

i.e. find all ".com s" replace with ".com (press return)s"

but it's just an idea
waste is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2003, 10:28 PM   #7
gothweb
Confirmed User
 
Join Date: Jun 2002
Location: Back in the USSA
Posts: 8,849
Yeah, use find and replace in word. A hint "^p" is a line break.
__________________

Photos by Ian X.: Distinctive photos of goth babes.
Blood Money:Your traffic, my sites, our money.
MojoHost: Still the best.
gothweb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2003, 10:52 PM   #8
waste
Confirmed User
 
Join Date: Nov 2001
Location: Baltimore
Posts: 770
Quote:
Originally posted by gothweb
Yeah, use find and replace in word. A hint "^p" is a line break.
guess it was a good idea after all
waste is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-23-2003, 01:01 AM   #9
lEricPl
Confirmed User
 
Join Date: Dec 2002
Location: FL
Posts: 1,062
Using Dreamweaver would be your best bet.

Very easy to do.

Also, look at the help docs in the Dreamweaver Manual...OK reference on RegEx.

After reading your problem I thought this would be a good example of basic IO options and RegEx use in .NET.

So, I wrote a small app.




Here is the compiled .exe
http://www.vbasic.net/Studio/Desktop...andReplace.zip

Here is the Source code with Visual Studio.NET Solution files if anyone is interested.
http://www.vbasic.net/Studio/Desktop...andReplace.rar

Anyway, you can use it if you wish.

You Must have the .NET Framework Installed to use this.

The program will allow you to open a document or paste the text right in.

It will also give you the option to save the file after the replace. (Access the Save option from the File Menu)

If you just want to replace Spaces with New Lines....just check the 2 checkboxes.

Use it if ya need.

Last edited by lEricPl; 02-23-2003 at 01:10 AM..
lEricPl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.