<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Urban Giraffe Support Topic: Replace "&#60;br /&#62;" with newline?</title>
<link>http://urbangiraffe.com/support/</link>
<description>Urban Giraffe Support Topic: Replace "&#60;br /&#62;" with newline?</description>
<language>en</language>
<pubDate>Fri, 05 Dec 2008 03:24:59 +0000</pubDate>

<item>
<title>thingles on "Replace "&#60;br /&#62;" with newline?"</title>
<link>http://urbangiraffe.com/support/topic/replace-ltbr-gt-with-newline#post-165</link>
<pubDate>Thu, 10 Apr 2008 14:45:35 +0000</pubDate>
<dc:creator>thingles</dc:creator>
<guid isPermaLink="false">165@http://urbangiraffe.com/support/</guid>
<description>&#60;p&#62;I sort of figured out how to do this. What I did was do the search with a regex that captured the newline (\n) and then used the $x to put that into the replacement. Worked fine, but had to be applied over and over since multiple instances wouldn't match in the same regex.&#60;/p&#62;
&#60;p&#62;I think it was something like.&#60;/p&#62;
&#60;p&#62;/(.*)&#38;lt;br \/&#38;gt;(.*)(\n)/&#60;/p&#62;
&#60;p&#62;with&#60;/p&#62;
&#60;p&#62;$1$3$2
&#60;/p&#62;</description>
</item>
<item>
<title>John on "Replace "&#60;br /&#62;" with newline?"</title>
<link>http://urbangiraffe.com/support/topic/replace-ltbr-gt-with-newline#post-150</link>
<pubDate>Sun, 06 Apr 2008 11:28:24 +0000</pubDate>
<dc:creator>John</dc:creator>
<guid isPermaLink="false">150@http://urbangiraffe.com/support/</guid>
<description>&#60;p&#62;An interesting problem!  I've added this to the feature request list as it's probably something that cannot be done as the plugin stands.
&#60;/p&#62;</description>
</item>
<item>
<title>thingles on "Replace "&#60;br /&#62;" with newline?"</title>
<link>http://urbangiraffe.com/support/topic/replace-ltbr-gt-with-newline#post-127</link>
<pubDate>Sat, 05 Apr 2008 09:07:32 +0000</pubDate>
<dc:creator>thingles</dc:creator>
<guid isPermaLink="false">127@http://urbangiraffe.com/support/</guid>
<description>&#60;p&#62;Ugh -- seems that even HTML entity tags get converted... [less than]br /[greater than]
&#60;/p&#62;</description>
</item>
<item>
<title>thingles on "Replace "&#60;br /&#62;" with newline?"</title>
<link>http://urbangiraffe.com/support/topic/replace-ltbr-gt-with-newline#post-126</link>
<pubDate>Sat, 05 Apr 2008 09:07:02 +0000</pubDate>
<dc:creator>thingles</dc:creator>
<guid isPermaLink="false">126@http://urbangiraffe.com/support/</guid>
<description>&#60;p&#62;Okay, seems that post got confused on the breaks. Both of those should be &#34;&#60;br /&#62;&#34;.
&#60;/p&#62;</description>
</item>
<item>
<title>thingles on "Replace "&#60;br /&#62;" with newline?"</title>
<link>http://urbangiraffe.com/support/topic/replace-ltbr-gt-with-newline#post-125</link>
<pubDate>Sat, 05 Apr 2008 09:05:57 +0000</pubDate>
<dc:creator>thingles</dc:creator>
<guid isPermaLink="false">125@http://urbangiraffe.com/support/</guid>
<description>&#60;p&#62;Search Regex is awesome and has saved me a ton of time. I've been able to clean up hundreds of old blog posts.&#60;/p&#62;
&#60;p&#62;I have one situation that I can't seem to figure out the right fix for. I have a couple hundred posts that were imported from another blog. That blog inserted &#34;&#60;br /&#62;&#34; with every newline. I'd like to purge the &#34;&#60;br /&#62;&#34; out and replace with a newline character.&#60;/p&#62;
&#60;p&#62;I can't seem to get a newline character in though. I tried &#34;\n&#34; and &#34;\\n&#34; on the replace string but both cases just put a &#34;\n&#34; in the text.&#60;/p&#62;
&#60;p&#62;Any ideas on how to get a newline in?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
