Find Jobs
Hire Freelancers

Parse messages to extract domain names

$30-250 USD

Completed
Posted over 15 years ago

$30-250 USD

Paid on delivery
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("[login to view URL] 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.
Project ID: 368074

About the project

16 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Ready to finish it soon. Please check PM for the demo.
$30 USD in 0 day
5.0 (39 reviews)
5.6
5.6
16 freelancers are bidding on average $45 USD for this job
User Avatar
pls chk pmb
$30 USD in 1 day
4.9 (757 reviews)
8.3
8.3
User Avatar
Hi, please, check your PM
$30 USD in 0 day
5.0 (390 reviews)
7.7
7.7
User Avatar
all just like the attached? then it is easy to do .
$30 USD in 0 day
4.9 (358 reviews)
6.8
6.8
User Avatar
that's a question of 5 minutes! )
$30 USD in 0 day
5.0 (15 reviews)
6.0
6.0
User Avatar
I can complete it right away.
$50 USD in 0 day
5.0 (29 reviews)
5.6
5.6
User Avatar
quick work.
$30 USD in 0 day
4.8 (79 reviews)
6.0
6.0
User Avatar
please check PM for demo
$30 USD in 1 day
5.0 (107 reviews)
5.6
5.6
User Avatar
can do this work, I can get domains from messages. Don't hesitate to contact me. thanks
$40 USD in 1 day
4.9 (22 reviews)
4.6
4.6
User Avatar
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 in 0 day
5.0 (29 reviews)
4.4
4.4
User Avatar
Easy job, let's start.
$30 USD in 0 day
5.0 (9 reviews)
3.0
3.0
User Avatar
I am very much interested tp work with this project. Thanks.
$50 USD in 3 days
5.0 (2 reviews)
2.9
2.9
User Avatar
Freebie in the PMB. Threw it together and it seems pretty accurate to me.
$30 USD in 1 day
5.0 (5 reviews)
3.1
3.1
User Avatar
Please see PMB
$30 USD in 0 day
0.0 (1 review)
0.0
0.0
User Avatar
Hi see pm for details!!.
$150 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, check PM
$100 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Palo Alto, United States
5.0
20
Payment method verified
Member since Jun 12, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.