Sedang Disiapkan

Parse messages to extract domain names

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("[url removed, login to view] 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.

Kemahiran: PHP

Lihat lebih lanjut: extract domains, php extract domain name, extract domain php, domain name extract, domain name parser, extract domains body messages, write names, php script null, extract company name names, extract domainnames, php extract domain name without www, parse domain name php, parse domain rss, parse web page domains, extract domain names content, php domain extractor, sales script selling script name, php parse subdomain, file parser extract domain names, domain name extractor php, script extract domain list, php code parse subdomain, extract domain words php script, extract domain words script, php extract subdomain name

Tentang Majikan:
( 20 ulasan ) Palo Alto, United States

ID Projek: #368074

Dianugerahkan kepada:

satoewarna

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

$30 USD dalam 0 hari
(39 Ulasan)
5.6

17 pekerja bebas membida secara purata $44 untuk pekerjaan ini

toinnisfree

pls chk pmb

$30 USD dalam sehari
(571 Ulasan)
8.0
NickolaS

Hi, please, check your PM

$30 USD dalam 0 hari
(329 Ulasan)
7.5
eelance

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

$30 USD dalam 0 hari
(343 Ulasan)
6.8
wincent

quick work.

$30 USD dalam 0 hari
(79 Ulasan)
6.0
cyberloh

that's a question of 5 minutes! )

$30 USD dalam 0 hari
(6 Ulasan)
5.8
Pektsekye

please check PM for demo

$30 USD dalam sehari
(107 Ulasan)
5.6
fastphp

I can complete it right away.

$50 USD dalam 0 hari
(29 Ulasan)
5.6
zhukaster

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

$40 USD dalam sehari
(22 Ulasan)
4.6
PatrickDev

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.

$30 USD dalam 0 hari
(29 Ulasan)
4.4
bullfrogliu

please check pmb

$30 USD dalam 0 hari
(7 Ulasan)
3.4
Anub1s

Easy job, let's start.

$30 USD dalam 0 hari
(9 Ulasan)
3.0
agiorlando

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

$30 USD dalam sehari
(4 Ulasan)
3.0
efrshuvo

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

$50 USD dalam 3 hari
(2 Ulasan)
2.9
seditiosus

Please see PMB

$30 USD dalam 0 hari
(1 Ulasan)
0.0
exmissioner

Hi see pm for details!!.

$150 USD dalam 3 hari
(0 Ulasan)
0.0
pfesto

Hi, check PM

$100 USD dalam 3 hari
(0 Ulasan)
0.0