<?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[How to use wildcards with Replace ?]]></title><description><![CDATA[<p dir="auto">Hello, i would like to go from :</p>
<p dir="auto">ren  Color_0001.jpg 18113434_ivia-rouge_armoire-etagere-n27<br />
ren  Color_0002.jpg 18113437_ivia-rouge_armoire-frigo-n27<br />
ren  Color_0003.jpg 18113444_ivia-rouge_armoire-rangement-n26<br />
ren  Color_0004.jpg 18113565_ivia-rouge_armoire-rangement-n27</p>
<p dir="auto">to :</p>
<p dir="auto">ren  Color_0001.jpg armoire-etagere-n27<br />
ren  Color_0002.jpg armoire-frigo-n27<br />
ren  Color_0003.jpg armoire-rangement-n26<br />
ren  Color_0004.jpg armoire-rangement-n27</p>
<p dir="auto">?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18001/how-to-use-wildcards-with-replace</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 21:38:43 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18001.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Jul 2019 13:36:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to use wildcards with Replace ? on Thu, 25 Jul 2019 16:40:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudio-gallego" aria-label="Profile: Claudio-Gallego">@<bdi>Claudio-Gallego</bdi></a> said:</p>
<blockquote>
<p dir="auto">I’ve found something : search : jpg.*<em>ivia-rouge</em></p>
</blockquote>
<p dir="auto">That’s great if it works for you. But note that the regex as displayed does <em>not</em> work as advertised, because it is missing the underscores.</p>
<p dir="auto">For future readers of this thread, the forum gobbled the <code>_</code> characters from <a class="plugin-mentions-user plugin-mentions-a" href="/user/claudio-gallego" aria-label="Profile: Claudio-Gallego">@<bdi>Claudio-Gallego</bdi></a>’s regex.  For the regex to work with the quoted data, it must be search = <code>jpg.*_ivia-rouge_</code>.</p>
<p dir="auto">To get it thru the forum without Markdown being applied to text, you need to enclose small pieces of exact text in back-ticks: `_ivia-rouge_` renders as <code>_ivia-rouge_</code>, instead of the italicized <em>ivia-rouge</em> that was seen without the proper Markdown.  The PREVIEW window shows this.    If you want to see more of the preview window at a time, hit the big black-circled <code>^</code> above the COMPOSE window.</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.</p>
</blockquote>
]]></description><link>https://community.notepad-plus-plus.org/post/45637</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45637</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Thu, 25 Jul 2019 16:40:09 GMT</pubDate></item><item><title><![CDATA[Reply to How to use wildcards with Replace ? on Thu, 25 Jul 2019 15:08:54 GMT]]></title><description><![CDATA[<p dir="auto">I’ve found something :</p>
<p dir="auto">search : jpg.*<em>ivia-rouge</em><br />
replace : jpg</p>
<p dir="auto">With the “regular expression” mode activated.</p>
<p dir="auto">In fact, you need to put a dot . before the *</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45635</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45635</guid><dc:creator><![CDATA[Claudio Gallego]]></dc:creator><pubDate>Thu, 25 Jul 2019 15:08:54 GMT</pubDate></item><item><title><![CDATA[Reply to How to use wildcards with Replace ? on Thu, 25 Jul 2019 13:43:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudio-gallego" aria-label="Profile: Claudio-Gallego">@<bdi>Claudio-Gallego</bdi></a></p>
<p dir="auto">Maybe try:</p>
<p dir="auto">Bring up the <strong>Replace</strong> window (ctrl+h).<br />
<strong>Find what</strong> box: <code>\d+_ivia-rouge_</code><br />
<strong>Replace with</strong> box: <em><strong>make sure this box is empty!</strong></em><br />
<strong>Search mode</strong>: Regular expression<br />
<strong>Wrap around</strong>: ticked<br />
Press the <strong>Replace All</strong> button.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/45631</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/45631</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 25 Jul 2019 13:43:18 GMT</pubDate></item></channel></rss>