<?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[Need help on replacing multiple spaces to a single space using Regular Expression]]></title><description><![CDATA[<h2>Hi everyone,<br />
I’d like to ask for help on how to replace multiple spaces between words into a single space in a txt file like below:</h2>
<h2>Nice      to      meet                     you!<br />
-&gt;<br />
Nice to meet you.</h2>
<p dir="auto">I’m sure there is a certain way in Regular Expression that is able to accomplish this function but don’t know where to start or how to write the expression in the “Replace” box.</p>
<p dir="auto">Is there anyone who have any idea?<br />
Thanks in advance and appreciate for your suggessions.</p>
<p dir="auto">Regards,<br />
George</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/16653/need-help-on-replacing-multiple-spaces-to-a-single-space-using-regular-expression</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 23:08:44 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/16653.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Nov 2018 13:16:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Need help on replacing multiple spaces to a single space using Regular Expression on Sun, 18 Nov 2018 14:34:13 GMT]]></title><description><![CDATA[<p dir="auto">That works, thank you so much Scott :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/36534</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/36534</guid><dc:creator><![CDATA[George Fan]]></dc:creator><pubDate>Sun, 18 Nov 2018 14:34:13 GMT</pubDate></item><item><title><![CDATA[Reply to Need help on replacing multiple spaces to a single space using Regular Expression on Sun, 18 Nov 2018 13:37:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/13657">@George-Fan</a></p>
<p dir="auto">Put a single space followed by a <code>+</code> in the <strong>Find what</strong> box.  Select <strong>Regular expression</strong> search mode and press <strong>Find Next</strong>.  You will see the results and should be able to build on that to do your desired replacement.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/36532</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/36532</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Sun, 18 Nov 2018 13:37:27 GMT</pubDate></item></channel></rss>