<?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[Remove Numerical Value]]></title><description><![CDATA[<p dir="auto">I want to use regex expression with Notepad++ to delete any number which is directly next to a character like this:</p>
<p dir="auto">2Try<br />
3Look<br />
4Contact</p>
<p dir="auto">I want it to look like this:</p>
<p dir="auto">Try<br />
Look<br />
Contact</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/19913/remove-numerical-value</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 21:58:10 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/19913.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Aug 2020 02:12:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Remove Numerical Value on Fri, 28 Aug 2020 03:07:42 GMT]]></title><description><![CDATA[<p dir="auto">It works, Thanks alot Terry. Be blessed</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57148</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57148</guid><dc:creator><![CDATA[Gavin Campbell]]></dc:creator><pubDate>Fri, 28 Aug 2020 03:07:42 GMT</pubDate></item><item><title><![CDATA[Reply to Remove Numerical Value on Fri, 28 Aug 2020 03:05:56 GMT]]></title><description><![CDATA[<p dir="auto">Actually sorry, I did put you slightly wrong as <code>\w</code> refers to a longer list of characters rather than JUST a-z.</p>
<p dir="auto">Try<br />
Find What:<code>(?i)\d+([a-z])</code><br />
Replace With:<code>\1</code></p>
<p dir="auto">The `(?i) allows it to work with both upper and lower case a-z characters.<br />
Also note this will pick up multi digit numbers preceding a character.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57147</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57147</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Fri, 28 Aug 2020 03:05:56 GMT</pubDate></item><item><title><![CDATA[Reply to Remove Numerical Value on Fri, 28 Aug 2020 03:01:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry-r" aria-label="Profile: Terry-R">@<bdi>Terry-R</bdi></a> said in <a href="/post/57145">Remove Numerical Value</a>:</p>
<blockquote>
<p dir="auto">\1</p>
</blockquote>
<p dir="auto">OK thanks. It does work with these:</p>
<p dir="auto">2Try<br />
3Look<br />
4Contact</p>
<p dir="auto">However it also finds numbers in the article like:</p>
<p dir="auto">32.2 degrees<br />
38 and 39 degrees</p>
<p dir="auto">and it changes them to</p>
<p dir="auto">2.2 degrees<br />
8 and 9 degrees</p>
<p dir="auto">So, how can i use a regex which only affects numbers which are directly next to a text value only rather numbers next to a numerial value.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57146</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57146</guid><dc:creator><![CDATA[Gavin Campbell]]></dc:creator><pubDate>Fri, 28 Aug 2020 03:01:12 GMT</pubDate></item><item><title><![CDATA[Reply to Remove Numerical Value on Fri, 28 Aug 2020 02:44:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gavin-campbell" aria-label="Profile: Gavin-Campbell">@<bdi>Gavin-Campbell</bdi></a> said in <a href="/post/57144">Remove Numerical Value</a>:</p>
<blockquote>
<p dir="auto">delete any number which is directly next to a character</p>
</blockquote>
<p dir="auto">Using the Replace function we have<br />
Find What:<code>\d+(\w)</code><br />
Replace With:<code>\1</code><br />
As this is a regex we need search mode as regular expression</p>
<p dir="auto">Given the small amount you have provided this works. However there may be other instances where you don’t want it to work, such as when you have <code>what123Test</code> for example. If so you need to provide better explanation of the circumstances to edit and where to NOT edit.</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/57145</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/57145</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Fri, 28 Aug 2020 02:44:59 GMT</pubDate></item></channel></rss>