Project Detail

Parse messages to extract domain names  

Parse messages to extract domain names is project number 368074
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: satoewarna

Budget: $30-250

Created: 01/09/2009 at 19:35 EST

Bid Count: 17

Average Bid:
$ 44

01/14/2009 at 19:35 EST

Project Creator: sam5n
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (14 reviews)

Bid On This Project
 

Description

Hello, need a function to parse a message entered by a user and try to extract the internet domain name out of it. These are messages for domain for sale, so they quasi always refer to a domain name in the title. However, sometimes users enter the domain name in several words (esp in the title) or with punctuations or only in the body of the message.

You are asked to write one function that will accept 2 parameters: the title of the message (always), and the content of the message (not always. Can be NULL). It must return the domain name, without the subdomain, or FALSE if no domain name could be extracted.

For example:
parse_domain("www.BarackObamainfo4u.com Domain name... Money Making",NULL)
should return: "BarackObamainfo4u.com"

Here is goal: your script should be able to extract the domain name out of the title of the message in at least 50% of the cases, with less than 1% or errors. When you script cannot reliably extract the name from the title, you can use the body of the message and get the domain name in 75% of the time, also with less than 1% of error.

Attached is a list of sample message titles and corresponding message content, as a PHP array. I'll send more samples by PM when you bid.


Additional files submitted:
sample_domain_messages.doc

Messages Posted:2 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

30

0 days

01-09-2009 20:26 EST

Hi, please, check your PM

help

 

30

0 days

01-09-2009 19:49 EST

all just like the attached? then it is easy to do .

help

 

30

1 day

01-10-2009 06:10 EST

please check PM for demo

help

 

30

0 days

01-09-2009 20:09 EST

quick work.

help

 

30

0 days

01-09-2009 20:51 EST

Hi, my name is Patrick and I am in the USA. I can write you the PHP code necessary to do exactly what you need. I am available to work on this immediately, let me know if you have any questions.

help

 

30

0 days

01-10-2009 00:28 EST

Ready to finish it soon. Please check PM for the demo.

help

 

50

0 days

01-09-2009 19:43 EST

I can complete it right away.

help

 

30

1 day

01-10-2009 19:24 EST

pls chk pmb

help

 

30

0 days

01-09-2009 19:53 EST

Easy job, let's start.

help

 

30

0 days

01-09-2009 19:50 EST

that's a question of 5 minutes! )

help

 

40

1 day

01-10-2009 17:51 EST

can do this work, I can get domains from messages. Don't hesitate to contact me. thanks

help

 

30

0 days

01-09-2009 21:59 EST

please check pmb

help

 

30

1 day

01-10-2009 15:16 EST

Freebie in the PMB. Threw it together and it seems pretty accurate to me.

help

 

30

0 days

01-09-2009 21:12 EST

(No Feedback Yet)

Please see PMB

help

 

150

3 days

01-09-2009 23:10 EST

(No Feedback Yet)

Hi see pm for details!!.

help

 

100

3 days

01-10-2009 00:25 EST

(No Feedback Yet)

Hi, check PM

help

 

50

3 days

01-10-2009 02:55 EST

(No Feedback Yet)

I am very much interested tp work with this project. Thanks.

help


    Bid on this Project