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

Concluído Postado há 5 meses Pago na entrega
Concluído Pago na entrega

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 Expressões Regulares

ID do Projeto: #37231754

Sobre o projeto

16 propostas Projeto remoto Ativo em há 5 meses

Concedido a:

v4d1m

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 Mais

$10 USD em 1 dia
(5 Comentários)
4.3

16 freelancers estão ofertando em média $26 nesse trabalho

bestsolz1

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, Mais

$30 USD in 7 dias
(108 Comentários)
5.9
zkqureshi95

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 Mais

$25 USD in 7 dias
(12 Comentários)
4.5
saurabhforphp

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 in 2 dias
(18 Comentários)
4.1
AslamShariff

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 Mais

$20 USD em 1 dia
(31 Comentários)
5.8
MuslimKhan

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 Mais

$50 USD em 1 dia
(10 Comentários)
3.6
syedraza21295

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 Mais

$20 USD in 7 dias
(2 Comentários)
2.8
vostario

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 em 1 dia
(2 Comentários)
2.6
anisurrehmanuss

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 Mais

$10 USD em 1 dia
(2 Comentários)
1.2
santoshinpccs

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 Mais

$25 USD in 3 dias
(0 Comentários)
0.0