Looking for a URLs filtering software.

you can use Textpad, record simple macro and loop playing it until end of file.
 
this c#.net code does it for you :) (3min coding ;P), you just have to put your urls/emails into the arrays and export the lists.

Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            string thisurltrimmed;
            string[] urlarray = { "http://www.google.de/lol", "http://www.yahoo.de/cat" };
            List<string> urlstrimmedarray = new List<string>();

            string thisemailtrimmed;
            string[] emailarray = { "[email protected]", "[email protected]" };
            List<string> emailstrimmedarray = new List<string>();

            Console.WriteLine("URLs trimmed:");
            foreach (string thisurl in urlarray)
            {
                thisurltrimmed = Regex.Match(thisurl, "(http://)?([^/]*)").ToString();
                if (!(urlstrimmedarray.Contains(thisurltrimmed)))
                {
                    Console.WriteLine(thisurltrimmed);
                    urlstrimmedarray.Add(thisurltrimmed);
                }
            }


            Console.WriteLine("emails trimmed:");
            foreach (string thisemail in emailarray)
            {
                thisemailtrimmed = Regex.Match(thisemail, "@(.*)").Groups[1].ToString();
                if (!(emailstrimmedarray.Contains(thisemailtrimmed)))
                {
                    Console.WriteLine(thisemailtrimmed);
                    emailstrimmedarray.Add(thisemailtrimmed);
                }
            }


            Console.ReadLine();
        }
    }
}
 
thanks. any other?
 
5$ and I will send you the tool. It will be possible to set an input file and an output file or an input and output textbox for the emails/domains and it will be really fast.
just pm me
peterlolz
 
Back
Top