Regular expressions required for ColdFusion -- 2

Lezárva Kiadva: 3 évvel ezelőtt Kiszállításkor fizetve
Lezárva Kiszállításkor fizetve

I need help with some regular expressions.

Example text variable:

<h4>some heading 1</h4>

<p>some body copy</p>

<p>more copy</p>

<h4>another heading 2</h4>

<p>some body copy</p>

<h4>some heading 3</h4>

<h4>some heading 4</h4>

<p>some body copy</p>

<p>more copy</p>

<p>even more copy</p>

I wish my client to be able to add h4 heading and copy in a WYSIWYG editor for simplicity and when it outputs the content in the template I wish to run the text through regular expressions to wrap the H and P tags with further markup to create a bootstrap accordion. The resulting code would take the content above and apply the additional markup as below. It would need to be written in CFML. so it would just wrap the additional DIVS around the H and P tags.

<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">

<div class="panel panel-default">

<div class="panel-heading" role="tab" id="headingOne">

<h4 class="panel-title">

<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">

some heading 1

</a>

</h4>

</div>

<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">

<div class="panel-body">

<p>some body copy</p>

<p>more copy</p>

</div>

</div>

</div>

<div class="panel panel-default">

<div class="panel-heading" role="tab" id="headingTwo">

<h4 class="panel-title">

<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">

another heading 2

</a>

</h4>

</div>

<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">

<div class="panel-body">

<p>some body copy</p>

</div>

</div>

</div>

<div class="panel panel-default">

<div class="panel-heading" role="tab" id="headingThree">

<h4 class="panel-title">

<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">

some heading 3

</a>

</h4>

</div>

</div>

<div class="panel panel-default">

<div class="panel-heading" role="tab" id="headingThree">

<h4 class="panel-title">

<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">

some heading 4

</a>

</h4>

</div>

<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">

<div class="panel-body">

<p>some body copy</p>

<p>more copy</p>

<p>even more copy</p>

</div>

</div>

</div>

</div>

Cold Fusion Reguláris kifejezések PHP

Projektazonosító: #26512542

A projektről

15 ajánlat Távolról teljesíthető projekt Utoljára aktív: 3 évvel ezelőtt

15 szabadúszó tett átlagosan 160£ összegű árajánlatot erre a munkára

schoudhary1553

Hi, Greetings! ✅checked your project details: Regular expressions required for ColdFusion ✅Completed Time: In project deadline We have worked on 600 + Projects. I have 6 + years of the experience in same kind of Továbbiak

£220 GBP 5 napon belül
(74 vélemény)
6.7
arigam

Hello, I have +16 Years of experience in ColdFusion. I have worked on more than 200 CF Websites and apps. I have worked on regular expression and Crawling of websites where this kind of requirement is full filled. I Továbbiak

£120 GBP 3 napon belül
(33 vélemény)
6.9
DRG1990

Hello I have read your job description carefully. I am a web expert with 10 years of experience in PHP, MySQL, Javascript, HTML, CSS. Also, I have rich experience in processing string and algorithms using php. So I a Továbbiak

£200 GBP 3 napon belül
(17 vélemény)
5.9
vovapod

Hello there. Nice to meet you. Could you send all details? I am experienced in PHP, JavaScript (full stack). I have a lot of experience in Javascript, jQuery, HTML5, CSS, Joomla, Prestashop, Opencart, Drupal, React.js Továbbiak

£130 GBP 7 napon belül
(39 vélemény)
5.5
hassansystem

Expert in Web Designing and Development, I can Built or revamp your Website with all of Requirements. Ready to start Work with you! Inbox me and let's talk to get started!

£135 GBP 7 napon belül
(14 vélemény)
4.6
Lultu

so the idea is to pick up the content from db and search thru it using regx and add into the accordion. was thinking of any other easier solution.. may be by using javascript. hope to discuss more in chat.

£167 GBP 5 napon belül
(21 vélemény)
4.4
bobymanikpuri

Hi there, Greetings from Rohit! Trust me sir i can complete your requirement with your complete satisfaction Also i can start your work immediately Please come in inbox. Thanks

£50 GBP 1 napon belül
(8 vélemény)
2.1
maheshbabu123544

Hi I am an experienced Web Designer and Developer . I have over 2 years of experience in the Web Development and Design field. i am an experienced regular expression projects. I am able to demonstrate my creativity, m Továbbiak

£110 GBP 7 napon belül
(2 vélemény)
0.6
rajamucharla5

Coldfusion 8 certified. Relevant Skills and Experience Coldfusion,javascript,html

£150 GBP 3 napon belül
(0 vélemény)
0.0
ramsaro36

I worked in a regular expression based project for CUP, wolterskluver. I can able to complete this on time. Please let me know the details. Thanks &Regards, Parthiban.R

£200 GBP 3 napon belül
(0 vélemény)
0.0