Find and Replace Line Breaks
-
Hi All,
Bit of a quandry here. I’m using WordPress as a CMS for a newspaper website and am attempting to import in posts from a flat file database. I’m using the CSV Importer plug in, which works fine, except that it doesn’t include line breaks. For instance, here’s how a couple paragraphs SHOULD read:
“Now is the time for all good men to come to the aid of their country.
And this is a second paragraph; notice the carriage return between the two paragraphs.”
But when imported in, it reads like this:
“Now is the time for all good men to come to the aid of their country.And this is a second paragraph; notice the carriage return between the two paragraphs.”
So I figure I can include a bit of code into my original flat file database, like
then import the csv, and then find and replace the
with a carriage return within WordPress.I’ve tried a couple of plug-ins for find and replace to no avail. Any suggestions? And secondly, when doing the find and replace, I want to obviously find
, but what do I enter for the replace?Many thanks!
- The topic ‘Find and Replace Line Breaks’ is closed to new replies.