Fermé

PHP preg_match for 3 texts

I have 1 text or string in 3 different formats and I want a PREG_MATCH statement that will output the following details from the text or string

* Customer Name

* Customer Email

* Customer Phone Number

* No Design or Templates required just a simple PRINT of the variables as above

Our Formats

1.

Hi,You have received a new [url removed, login to view] Number : PN674332The clients details are as following:Client Name : Catherine FranklinClient EMail Address : [url removed, login to view]@[url removed, login to view] Phone Number : 0825555464Service Required : Courier ServicesFrom Province : Western CapeFrom Location : ConstantiaTo Province : GautengTo Location : RoodepoortFrequency : Once-OffWeight : 0Size : 0 X 0 X 0Extra Notes :

2.

Hi,

You have received a new lead.

Lead Number : PN674332

The clients details are as following:

Client Name : Catherine Franklin

Client EMail Address : [url removed, login to view]@[url removed, login to view]

Client Phone Number : 082555564

Service Required : Courier Services

From Province : Western Cape

From Location : Constantia

To Province : Gauteng

To Location : Roodepoort

Frequency : Once-Off

Weight : 0

Size : 0 X 0 X 0

Extra Notes :

3.

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>

<p><span>Hi,</span><br /><br /><span>You have received a new lead from PriceNet.</span><br /><br /><span>Lead Number : PN674332</span><br /><br /><span>The clients details are as following:</span><br /><span>Client Name            : Catherine Franklin</span><br /><span>Client EMail Address   :<span> </span></span><a href="mailto:[url removed, login to view]@[url removed, login to view]">[url removed, login to view]@[url removed, login to view]</a><br /><span>Client Phone Number    : 0825135464</span><br /><span>Service Required       : Courier Services</span><br /><span>From Province          : Western Cape</span><br /><span>From Location          : Constantia</span><br /><span>To Province            : Gauteng</span><br /><span>To Location            : Roodepoort</span><br /><span>Frequency              : Once-Off</span><br /><span>Weight                 : 0</span><br /><span>Size                   : 0 X 0 X 0</span><br /><span>Extra Notes            :<span> </span></span><br /><br /><span>Kind Regards,</span><br /><span>PriceNet</span><br /><br /><span>Should you need to contact us, please email:<span> </span></span><a href="mailto:sales@[url removed, login to view]">sales@[url removed, login to view]</a></p>

</body></html>

Compétences : HTML, PHP

en voir plus : php get text between strings, php get text between tags preg_match, php preg_match_all html tags, php regex get text between tags, php match string, php get content between html tags, php get content of html tag, php preg_match examples, I need a freelancer to help me with PHP. My budget is around ₹1,500 - ₹12,500 INR and I need this to be done within 3 days. , preg match rss youtube php, php preg match href, php preg match, youtube preg match, preg match img src, preg match money php

Concernant l'employeur :
( 16 commentaires ) Johannesburg, South Africa

Nº du projet : #15168603

29 freelance font une offre moyenne de R236 pour ce travail

A2Design

Hello, We are a team of 30 developers based in Russia. If you you need help with: - Website/web application/e-commerce development (any complexity) from scratch or using a premade solution - Front-end and back-en Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% ZAR en 3 jours
(107 Commentaires)
8.6
prashushinde9

******** ****ON DEMAND SERVICES – READY TO USE SCRIPT ******************** Hello, We are happy to inform you that we have recently developed the System of On Demand Services “ComeFixMe” and it is completed and w Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(64 Commentaires)
7.2
saagark22

Hi, I can write the PHP code to exact following * Customer Name * Customer Email * Customer Phone Number From three different text/string/HTML. *Your last for of text is HTML not string or text. Relevant Skills an Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(361 Commentaires)
6.9
anushriimathur

We can do this job for you at very low cost as we have a team of experienced designers and developers. Relevant Skills and Experience We have lot of experience in all type of php frameworks. Like wordpress,Cake PHP, C Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(78 Commentaires)
5.9
WebXcellance

PHP and html web work Relevant Skills and Experience Respected Sir, We have 7+ year exp in php html and wordpress. We have expertise in content management system in wordpress. Proposed Milestones R125 ZAR - Projec Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(91 Commentaires)
6.3
gaurav

reetings, I am expert PHP,Wordpress developer and have gain huge experience over last 5+ Years. I have few Query i.e " kindly describe your requirements in details so that I can suggest you for the same with best out Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(29 Commentaires)
6.2
webdesignexpert1

Hi Greetings, I read your job description very-well and ready to start work from now. my abilities would be perfect for your venture and i can finish this job within the necessary time frame. Relevant Skills and Expe Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% ZAR en 2 jours
(13 Commentaires)
5.2
spryox

I can you a preg_match to give all 3 things for the 3 type of inputs mentioned by you.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(82 Commentaires)
5.1
SALESDGWEB

we will give you best web design and functionality according your requirements. Relevant Skills and Experience We making Website with Php , Html5 , Css3, Wordpress , Magento, Java script etc. We also make customizatio Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(12 Commentaires)
5.1
Tushar051

I have 100% job completion rate:) I have above 5yr of experience in Web Development & Designing, Web application development. Relevant Skills and Experience My strengths are in PHP, Codeigniter, Laravel, Wordpress, M Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(15 Commentaires)
4.8
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(30 Commentaires)
4.6
Tamalnaskar6

I’ve 5 years experience in Software Development and so I am accustomed to working with all sorts of products and services. Please visit my portfolio : [login to view URL] Relevant Skills and Experience Php , MySql Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(28 Commentaires)
4.5
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(4 Commentaires)
4.5
manjeet2017

Hi, I went through your requirement and feel comfortable to do this job. I have good experience in website design & development. Please initiate chat to discuss further Relevant Skills and Experience PHP, Word press, Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(19 Commentaires)
4.2
olevea21

Hello,Hope you doing well.I read your project description,Lets have a technical discussion,negotiate costing, timeline and then we proceed further. I Will show my past work also. Thanks! Relevant Skills and Experienc Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(6 Commentaires)
4.0
gabdel1

Hello sir, You can try this regex on your browser console to see that it works. If you want I can convert it to PHP syntax. It will get the info from both first and second examples. Relevant Skills and Experience stri Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(3 Commentaires)
3.7
MPRsoftware

Yes, I will do that work, let's clarify the requirement in details also if you want us to share our skill and previous work let us know.. hope to hear you soon. Thanks & Regards Stay tuned, I'm still working on this Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(6 Commentaires)
3.3
dixeshp503

Hello sir / mam I have great team to complete your website using php core and mysqli. My team in 10 expert designer and 5 developer to complete your website in short time . Relevant Skills and Experience My team give Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(10 Commentaires)
3.2
nikunjv9

Hello sir, - I have a good experience in PHP, photoshop,bootstrap 3, CSS3 and HTML5. Relevant Skills and Experience Our Work [login to view URL] [login to view URL] [login to view URL] http://fla Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(11 Commentaires)
3.4
LogicBoltechnlgy

We are clear with the technology and have successfully completed many projects. We have efficient and experienced coding specialists who can fulfill your requirements. We assure to satisfy you Relevant Skills and Expe Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% ZAR en 1 jour
(2 Commentaires)
2.9