{"id":1670,"date":"2013-10-25T11:45:28","date_gmt":"2013-10-25T11:45:28","guid":{"rendered":"http:\/\/galhano.com\/blog\/?p=1670"},"modified":"2013-10-25T11:54:11","modified_gmt":"2013-10-25T11:54:11","slug":"break-lines-at-specific-character-in-notepad","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=1670","title":{"rendered":"Break lines at specific character in Notepad ++"},"content":{"rendered":"<div>\n<ol>\n<li>In Notepad++, click Search &gt; Find.<\/li>\n<li>Click the Replace tab.<\/li>\n<li>Under the Search Mode group, select Regular expression.<\/li>\n<li>In the Find what text field, type <code>&lt;span style=&quot;color: #ff0000;&quot;&gt;],&lt;\/span&gt;\\s*<\/code><\/li>\n<li>In the Replace with text field, type <code>&lt;span style=&quot;color: #ff0000;&quot;&gt;],&lt;\/span&gt;\\n<\/code><\/li>\n<li>Click Replace All.<\/li>\n<\/ol>\n<p><!--more--><\/p>\n<p>sample<\/p>\n<p>[text]<br \/>\n&lt;pre&gt;&lt;code&gt;[&#8217;22APR2012 23:10&#8242;, &#8217;23APR2012 07:10&#8242;, 1, 3, 0], [&#8217;22APR2012 23:10&#8242;, &#8217;23APR2012 07:20&#8242;, 1, 3, 0], [&#8217;22APR2012 23:15&#8242;, &#8217;23APR2012 06:40&#8242;, 0, 1, 0], [&#8217;22APR2012 23:15&#8242;, &#8217;23APR2012 06:40&#8242;, 1, 3, 0], [&#8217;22APR2012 23:15&#8242;, &#8217;23APR2012 06:40&#8242;, 0, 1, 0], [&#8217;22APR2012 23:15&#8242;, &#8217;23APR2012 07:00&#8242;, 1, 3, 0], [&#8217;22APR2012 23:15&#8242;, &#8217;23APR2012 07:00&#8242;, 0, 1, 0], [&#8217;22APR2012 23:20&#8242;, &#8217;23APR2012 09:35&#8242;, 0, 1, 0], [&#8217;22APR2012 23:20&#8242;, &#8217;23APR2012 09:35&#8242;, 1, 3, 0], [&#8217;22APR2012 23:20&#8242;, &#8217;23APR2012 10:10&#8242;, 1, 3, 0], [&#8217;22APR2012 23:25&#8242;, &#8217;23APR2012 05:35&#8242;, 1, 3, 0], &lt;\/code&gt;&lt;\/pre&gt;<br \/>\n[\/text]<\/p>\n<p>output<\/p>\n<p>[text]<br \/>\n&lt;pre&gt;&lt;code&gt; [&#8217;22APR2012 19:30&#8242;, &#8217;23APR2012 00:25&#8242;, 0, 1, 0],<br \/>\n[&#8217;22APR2012 19:35&#8242;, &#8217;23APR2012 01:45&#8242;, 1, 3, 0],<br \/>\n[&#8217;22APR2012 19:50&#8242;, &#8217;23APR2012 05:25&#8242;, 1, 3, 0],<br \/>\n[&#8217;22APR2012 19:50&#8242;, &#8217;23APR2012 05:25&#8242;, 0, 1, 0],<br \/>\n[&#8217;22APR2012 19:55&#8242;, &#8217;23APR2012 06:25&#8242;, 1, 3, 0],&lt;\/code&gt;<br \/>\n&lt;code&gt;<br \/>\n&lt;\/code&gt;&lt;\/pre&gt;<br \/>\n[\/text]<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In Notepad++, click Search &gt; Find. Click the Replace tab. Under the Search Mode group, select Regular expression. In the Find what text field, type &lt;span style=&quot;color: #ff0000;&quot;&gt;],&lt;\/span&gt;\\s* In the Replace with text field, type &lt;span style=&quot;color: #ff0000;&quot;&gt;],&lt;\/span&gt;\\n Click Replace All.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,14],"tags":[],"class_list":["post-1670","post","type-post","status-publish","format-standard","hentry","category-truques-dicas","category-tutorials","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1670"}],"version-history":[{"count":3,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1670\/revisions"}],"predecessor-version":[{"id":1672,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1670\/revisions\/1672"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1670"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}