Monday, September 08, 2014

Replacing Spacing Out Paragraphs in Geany

My text editor of choice is Geany.

I use it all the time to edit my website pages.

This blog post is merely a note to myself to use the regular expression \n\n to replace spaced out paragraphs.

I am now working on converting my Math 25 Workbook into web pages.  The first step for each chapter is to add the HTML paragraph mark code.  So I do:
Find: \n\n
Replace: </p>\n\n<p>
For the entire document.  Then I only need to manually fix the first open paragraph, and the last close paragraph.

No comments: