prem2 -2 Posting Whiz in Training

Hi DaniWeb Team,
I need to split the below contents by using the mobile number and email id.
If the mobile number and email id found the content is splitted into some blocks.
I am using the preg_match_all to check the mobile number and email id.

For example :
The Given Content:
WANTED B'ful Non W'kingEdu Fair Girl for MBA 28/175 H'some Fair Mangal Gotra Boy Well estd. B'ness HI Income Status family Email: vkagarwal53@yahoo.in PQM4 h'some Convent Educated B.techIIT, MS/28/5'9" Wkg in US frm repu fmlyseek b'ful,tall g i r l . Mo:09893029129 Em:smsinghal2@gmail.com 5' 2" to 5' 5" b'ful QLFD girl for h a n d s o m e 5' 8" BPT (I) MPT G.Medalist (AUS) wkg in Australia Physiotherapist boy from V.respectable fmly of Surat / DeUli. Tel: 09825147614. EmaU: inbansal@gmaU.com

The Desired output should be:
1st block:
WANTED B'ful Non W'kingEdu Fair Girl for MBA 28/175 H'some Fair Mangal Gotra Boy Well estd. B'ness HI Income Status family Email: vkagarwal53@yahoo.in

2nd block:
PQM4 h'some Convent Educated B.techIIT, MS/28/5'9" Wkg in US frm repu fmlyseek b'ful,tall g i r l . Mo:09893029129 Em:smsinghal2@gmail.com

3rd block:
5' 2" to 5' 5" b'ful QLFD girl for h a n d s o m e 5' 8" BPT (I) MPT G.Medalist (AUS) wkg in Australia Physiotherapist boy from V.respectable fmly of Surat / DeUli. Tel: 09825147614. EmaU: inbansal@gmaU.com

I do no how to split it.I need some logics.
When i am using preg_match_all when ever a mobile number found i inserted a new line and split the blocks.But email id is splitted independently.


Thank you,
Prem

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.