PHP Regex. Extract higher level elements from code. Include nested elements

Lengkap Disiarkan 2 bulan lepas Dibayar semasa penghantaran
Lengkap Dibayar semasa penghantaran

I am looking for a PHP developer who can extract higher level elements from code, including nested elements.

Please see the attachment. There are 3 higher level elements: 1 cover and 2 groups. So I need to extract them with nested elements and texts and place into an array. Maybe you should use preg_match_all function.

So, the output must be:


'<!-- wp:cover ... <!-- /wp:cover -->',

'<!-- wp:group ... <!-- /wp:group -->',

'<!-- wp:group ... <!-- /wp:group -->'


Please look into wp:cover element - there is another wp:cover. So, your code must extract the parent wp:cover with children wp:cover. The same is with wp:group elements.

Please, start your message with wp:group to let me know that you've read the description.

Thank you.

PHP Regular Expressions

ID Projek: #37231754

Tentang projek

16 cadangan Projek jarak jauh Aktif 2 bulan lepas

Dianugerahkan kepada:


wp:group Hello, dear client, why overpay? 10 USD only, just 1 day! I want to help you as this project fits my developer's skills. I am a smart programmer, having more than 15 years of experience in coding. I program in Lagi

$10 USD dalam sehari
(5 Ulasan)

16 pekerja bebas membida secara purata $26 untuk pekerjaan ini


wp:group Hello there! My name is Rizwan, and I am a team of experienced PHP developers. We have strong portfolios of all level projects, including website design and development, HTML, CSS, Bootstrap, Jquery/Js, Ajax, Lagi

$30 USD dalam 7 hari
(108 Ulasan)

Hello, my name is Zuber and I am a PHP developer with 5+ years of web development experiences. I have worked on many different types of projects and have developed a number of successful applications. I understand you Lagi

$25 USD dalam 7 hari
(12 Ulasan)

Hi, i have checked your requirements and have understood. I have 3 years+ of experience in web development. For further discussions can we chat?

$30 USD dalam 2 hari
(18 Ulasan)

Hello there! I understand you're looking for someone to extract higher level elements from code including nested elements and texts and place them into an array. Maybe you could use the preg_match_all function to do s Lagi

$20 USD dalam sehari
(31 Ulasan)

Hello, I'm MAK, a proficient PHP developer experienced in utilizing regular expressions to parse and extract specific elements from code structures. I've read the project details carefully, and I understand the need t Lagi

$50 USD dalam sehari
(10 Ulasan)

Hello, I am an accomplished Full Stack developer and SEO wizard with 7 years of experience. I specialize in crafting visually captivating and functionally impeccable websites. From optimizing site speed to implement Lagi

$20 USD dalam 7 hari
(2 Ulasan)

Hello Please contact me. I can extract elements you need by using Regex and PHP. I look forward to hearing from you. Regards

$20 USD dalam sehari
(2 Ulasan)

Hello, I'm Anees and I'm an experienced PHP developer with 15+ years of experience. I've helped small medium and large scale businesses develop their websites, mobile apps, software and digital presences. I noticed yo Lagi

$10 USD dalam sehari
(2 Ulasan)

wp:group Hello there! After reviewing your job description and attached document. I can help you. I'm an experienced PHP developer. I'm excited to hear about your project for extracting higher-level elements from c Lagi

$25 USD dalam 3 hari
(0 Ulasan)