View Single Post
Old 10-08-2016, 08:24 PM   #194
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Hi

I have a regex question. The solution would allow me to convert more easily output from my word processor.

Say we have this text:

Code:
<blockquote>
      <p>A la première ville,<br/>Son amant l’habille<br/>Tout en satin blanc</p>
      <p>A la seconde ville,<br/>Son amant l’habille<br/>En or, en argent.</p>
      <p>Elle était si belle<br/>Qu’on lui tendait les voiles<br/>Dans tout le régiment.</p>
</blockquote>
I wish, using an editor, to add a class "note" for each p. The number of p can vary from one to nine.

I fail to do it.

Last edited by roger64; 10-08-2016 at 08:28 PM.
roger64 is offline   Reply With Quote