How to change source order of <div> in less steps/automatically?

Posted by metal-gear-solid on Stack Overflow See other posts from Stack Overflow or by metal-gear-solid
Published on 2010-06-02T12:31:04Z Indexed on 2010/06/02 12:33 UTC
Read the original article Hit count: 246

Filed under:
|
|
|
|

How can i do this task automate. i need to change source order of div, which has same id in above 100 pages.

i created example

This is default condition

<div class="identification">  <div class="number">Number 1</div> </div>
<div class="identification">  <div class="number">Number 2</div> </div>
<div class="identification">  <div class="number">Number 3</div> </div>
<div class="identification">  <div class="number">Number 4</div> </div>
<div class="identification">  <div class="number">Number 5</div> </div>
<div class="identification">  <div class="number">Number 6</div> </div>

I need lik this

<div class="identification">  <div class="number">Number 1</div> </div>
<div class="identification">  <div class="number">Number 3</div> </div>
<div class="identification">  <div class="number">Number 2</div> </div>
<div class="identification">  <div class="number">Number 6</div> </div>
<div class="identification">  <div class="number">Number 4</div> </div>
<div class="identification">  <div class="number">Number 5</div> </div>

Is the manual editing only option? I use dreamweaver.

© Stack Overflow or respective owner

Related posts about html

Related posts about regex