View Single Post
Old 10-09-2012, 05:26 PM   #4
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 716
Karma: 1085604
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
I didn't quite get what you were refering to and couldn't try it.

I've now had a chance and by changing it to:

Code:
<p class="heading">(.+)</p>\n\n  <p>
and replace with:

Code:
<p class="heading">\1</p>\n\n  <p class="newscene2">
it seemed to work.

This found the instances and made the correct replacement without effecting the text in the heading.

Thanks very much for this.
ghostyjack is offline   Reply With Quote