Find Jobs
Hire Freelancers

Create a PHP function with regex parser for phone numbers to convert into links

$10-30 USD

Dibatalkan
Disiarkan sekitar 10 tahun yang lalu

$10-30 USD

Dibayar semasa penghantaran
Hi, I want to have a PHP function that will parse a text searching for phone number patterns. Need to keep a format and create a a link. Here are some examples of what I want: 1-300-400-600 => <a href="[login to view URL]">1-300-400-600</a> 020 7378 4482 => <a href="[login to view URL]">020 7378 4482</a> (020) 7378 4482 => <a href="[login to view URL]">(020) 7378 4482</a> (020)-7378-4482 => <a href="[login to view URL]">(020)-7378-4482</a> +0034606890789 => +<a href="[login to view URL]">0034606890789</a> 976 789 345 => <a href="[login to view URL]">976 789 345</a> 976-789-345 => <a href="[login to view URL]">976-789-345</a> 91 37 89 345 => <a href="[login to view URL]">91 37 89 345</a> Only for numbers bigger than 5 digits and smaller than 14 digits. If there is a carry return, end the number. So this would be two different numbers: 1-400-600-700 0001115 As: <a href="[login to view URL]">1-300-400-600</a> <a href="[login to view URL]">0001115</a> Pretty much the same for any phone number format. The href needs to be always the number without spaces and symbols/or and the anchor must be the same as given. The function will get as a parameter the text to parse, and will return the same text with the numbers replaces for links. Also, the tool should get a phone number as a parameter and if this case is found in the text it won't be converted to link.
ID Projek: 5691606

Tentang projek

9 cadangan
Projek jarak jauh
Aktif 10 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
9 pekerja bebas membida secara purata $27 USD untuk pekerjaan ini
Avatar Pengguna
Hello, I got the idea of that function, but will the input text will contain many phone numbers, or each argument will contain only one phone number per time? Best Regards
$45 USD dalam 1 hari
4.8 (155 ulasan)
6.0
6.0
Avatar Pengguna
hi, I am interested to develop parser to parser phone number as per your given rules. Please see my previous work and let me start the work. Thanks Prakash
$30 USD dalam 1 hari
4.9 (39 ulasan)
4.6
4.6
Avatar Pengguna
I developed the function for you, If you need it I can give you right now. Ready to give you the solution.
$15 USD dalam 0 hari
5.0 (22 ulasan)
4.2
4.2
Avatar Pengguna
Hey, I might be able to do this job. If you don't mind would I ask you a question? Would you want to detect the numbers in a format like 0000-000 or 000-0000-00 or 0-00-000? Would you just need the function? I mean how you wanna use it. Would you tell me please? Ask me any question if you want. Thanks Jobaer
$35 USD dalam 1 hari
4.9 (14 ulasan)
4.1
4.1
Avatar Pengguna
I am specialize in C++,C#.net,ASP.Net,JAVA, PHP, MySQL, Wordpress, Web Designing and framework like CodeIgniter. my aim to deliver quality products to our customers within specified deadline. If hired by you I will put in my best work. I am ready to be hired by you and start work on your jobs PM to me for more discussion
$24 USD dalam 1 hari
5.0 (6 ulasan)
2.6
2.6
Avatar Pengguna
Hi pirneo, I hope that you are still looking for someone to do this task, I will be pleased to do it for you; send me a private message when you will be online. Thanks, Sofienesof
$23 USD dalam 1 hari
5.0 (1 ulasan)
0.8
0.8
Avatar Pengguna
Hello sir, i am a 3+ year experienced PHP developer ,if you allow means now itself i can start coding, i am waiting for your reply
$30 USD dalam 1 hari
0.0 (0 ulasan)
0.0
0.0

Tentang klien

Bendera UNITED KINGDOM
London, United Kingdom
5.0
45
Kaedah pembayaran disahkan
Ahli sejak Mei 22, 2013

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.