View Single Post
Old 02-08-2011, 03:47 AM   #2
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Sure, with search and replace you can do this. Note at the time it hits Search and replace you need to write html.

Should be something like this search:
Code:
(?P<bdy><body[^>]*>)
Replace should be something like this:
Code:
\g<bdy>\n<p>line1</p>\n<p>line2</p>\n<p>line3</p>\n<p>line4</p>\n<p>line5</p>\n
ldolse is offline   Reply With Quote