search and replace by regex in zend studio

481 views Asked by At

i have a .html file and i am using zend studio for edit html and php file

i have list in html like

    <li style="left: 132px;"><img width="50" height="50" src="img/tribes/1.png"></li>
    <li style="left: 152px;"><img width="50" height="50" src="img/tribes/2.png"></li>
    .
    .
    .
    .
    .
    .
   <li style="left: 802px;"><img width="50" height="50" src="img/tribe/58.png"></li>

and i want to replace <li style="left: 132px;"> with simple <li> with regex how i can do that ?

1

There are 1 answers

0
Mark Richards On BEST ANSWER

search in zend studio <li (.*)><img and replace with <li><img see in image

enter image description here