<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Migration: How to preserve serial length]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">When I migrate my website to my localhost then I use notepad++ to modified my .sql file.<br />
Example find <a href="https://oldname" rel="nofollow ugc">https://oldname</a> and replace <a href="http://newname" rel="nofollow ugc">http://newname</a>, working fine.<br />
Next I import my .sql file. All is running fine, except</p>
<p dir="auto">I loss my widget_text information, see below.</p>
<p dir="auto">I find out that the data has a serial length counter build in, example<br />
s:15:"About This Site"<br />
Where s:15 is the length of the data…</p>
<p dir="auto">QST Is there a option in Notepad++ to preserve (modified automatically )</p>
<p dir="auto">Thx Robert Poland</p>
<p dir="auto">(79, ‘widget_text’, ‘a:5:{i:2;a:4:{s:5:"title";s:7:"Find Us";s:4:"text";s:168:"&lt;strong&gt;Address&lt;/strong&gt;\n123 Main Street\nNew York, NY 10001\n\n&lt;strong&gt;Hours&lt;/strong&gt;\nMonday—Friday: 9:00AM–5:00PM\nSaturday &amp; Sunday: 11:00AM–3:00PM";s:6:"filter";b:1;s:6:"visual";b:1;}i:3;a:4:{s:5:"title";s:15:"About This Site";s:4:"text";s:85:"This may be a good place to introduce yourself and your site or include some credits.";s:6:"filter";b:1;s:6:"visual";b:1;}i:4;a:4:{s:5:"title";s:7:"Find Us";s:4:"text";s:168:"&lt;strong&gt;Address&lt;/strong&gt;\n123 Main Street\nNew York, NY 10001\n\n&lt;strong&gt;Hours&lt;/strong&gt;\nMonday—Friday: 9:00AM–5:00PM\nSaturday &amp; Sunday: 11:00AM–3:00PM";s:6:"filter";b:1;s:6:"visual";b:1;}i:5;a:4:{s:5:"title";s:15:"About This Site";s:4:"text";s:85:"This may be a good place to introduce yourself and your site or include some credits.";s:6:"filter";b:1;s:6:"visual";b:1;}s:12:"_multiwidget";i:1;}’, ‘yes’),</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18179/migration-how-to-preserve-serial-length</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 10:13:38 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18179.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Sep 2019 08:58:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Migration: How to preserve serial length on Wed, 04 Sep 2019 14:53:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/r-van-wingerden" aria-label="Profile: R-van-Wingerden">@<bdi>R-van-Wingerden</bdi></a> said:</p>
<blockquote>
<p dir="auto">Is there a option in Notepad++ to preserve</p>
</blockquote>
<p dir="auto">I’m not sure what you’re trying to preserve, or what you think Notepad++ didn’t preserve for you.</p>
<p dir="auto">If you only changed <code>https://oldname</code> to <code>https://newname</code>, then nothing else should have changed.  However, if your <code>oldname</code> or <code>newname</code> were not literally those, but included regex characters, and you had enabled regular expression search/replace mode, then that <em>might</em> explain things.</p>
<p dir="auto">But so far, I don’t see that you’ve given us <a href="https://notepad-plus-plus.org/community/topic/15739/faq-desk-request-for-help-without-sufficient-information-to-help-you" rel="nofollow ugc">enough information</a>.</p>
<p dir="auto">-----</p>
<h3>Please Read</h3>
<p dir="auto">FYI:</p>
<blockquote>
<p dir="auto">This forum is formatted using <a href="https://daringfireball.net/projects/markdown/syntax" rel="nofollow ugc">Markdown</a>, with a help link buried on the little grey <code>?</code> in the COMPOSE window/pane when writing your post. For more about how to use Markdown in this forum, please see <a href="https://notepad-plus-plus.org/community/topic/14262/how-to-markdown-code-on-this-forum/4" rel="nofollow ugc">@Scott-Sumner’s post in the “how to markdown code on this forum” topic</a>, and my updates <a href="https://notepad-plus-plus.org/community/topic/14262/how-to-markdown-code-on-this-forum/9" rel="nofollow ugc">near the end</a>. It is very important that you use these formatting tips – using single backtick marks around small snippets, and using code-quoting for pasting multiple lines from your example data files – because otherwise, the forum will change normal quotes (<code>""</code>) to curly “smart” quotes (<code>“”</code>), will change hyphens to dashes, will sometimes hide asterisks (or if your text is <code>c:\folder\*.txt</code>, it will show up as <code>c:\folder*.txt</code>, missing the backslash). If you want to clearly communicate your text data to us, you <em>need</em> to properly format it.  That topic also explains how to embed images by uploading them to a public server like <a href="http://imgur.com" rel="nofollow ugc">imgur.com</a>, and embedding them using the syntax <code>![](http://i.imgur.com/QTHZysa.png)</code></p>
</blockquote>
<blockquote>
<p dir="auto">If you have further search-and-replace (“matching”, “marking”, “bookmarking”, regular expression, “regex”) needs, study <a href="https://notepad-plus-plus.org/community/topic/15765/faq-desk-where-to-find-regex-documentation" rel="nofollow ugc">this FAQ</a> and the documentation it points to. Before asking a new regex question, understand that for future requests, many of us will expect you to show what data you have (exactly), what data you want (exactly), what regex you already tried (to show that you’re showing effort), why you thought that regex would work (to prove it wasn’t just something randomly typed), and what data you’re getting with an explanation of why that result is wrong. When you show that effort, you’ll see us bend over backward to get things working for you. If you need help formatting, see the paragraph above.</p>
</blockquote>
<blockquote>
<p dir="auto">Please note that for all regex and related queries, it is best if you are explicit about what needs to match, <em>and</em> what <em>shouldn’t</em> match, and have multiple examples of both in your example dataset. Often, what <em>shouldn’t match</em> helps define the regular expression as much or more than what <em>should match</em>.</p>
</blockquote>
]]></description><link>https://community.notepad-plus-plus.org/post/46783</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/46783</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 04 Sep 2019 14:53:37 GMT</pubDate></item></channel></rss>