<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alteryx RegEx Replace in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-RegEx-Replace/m-p/1136341#M280751</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/445426"&gt;@RichW123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your intiial expression&amp;nbsp;&lt;SPAN&gt;(^Consulting) matches any string that starts with "Consulting", but doesn't take into account any characters that follow it.&amp;nbsp; Change it to&amp;nbsp;(^Consulting).* so any following chars will be matched but not captured by $1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danilang_0-1684758468144.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/305840i082D45CF43F4B682/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danilang_0-1684758468144.png" alt="danilang_0-1684758468144.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 12:28:26 GMT</pubDate>
    <dc:creator>danilang</dc:creator>
    <dc:date>2023-05-22T12:28:26Z</dc:date>
    <item>
      <title>Alteryx RegEx Replace</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-RegEx-Replace/m-p/1136333#M280748</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have a list of organisations that I wish to replace the text of, depending on the beginning of the organisation string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, "Consulting National BXT..." I want to become "Advisory - Consulting".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Initially, I though RegEx would be handy by using the regular expression: (^Consulting), set it to replace and have the replacement text as "Advisory - $1". However, this keeps all the text after the word "Consulting" which I don't want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could untick "Copy unmatched text to output" but I don't want to make all the other organisations that don't match the expression blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:05:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-RegEx-Replace/m-p/1136333#M280748</guid>
      <dc:creator>RichW123</dc:creator>
      <dc:date>2023-05-22T12:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx RegEx Replace</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-RegEx-Replace/m-p/1136341#M280751</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/445426"&gt;@RichW123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your intiial expression&amp;nbsp;&lt;SPAN&gt;(^Consulting) matches any string that starts with "Consulting", but doesn't take into account any characters that follow it.&amp;nbsp; Change it to&amp;nbsp;(^Consulting).* so any following chars will be matched but not captured by $1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danilang_0-1684758468144.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/305840i082D45CF43F4B682/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danilang_0-1684758468144.png" alt="danilang_0-1684758468144.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:28:26 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-RegEx-Replace/m-p/1136341#M280751</guid>
      <dc:creator>danilang</dc:creator>
      <dc:date>2023-05-22T12:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx RegEx Replace</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-RegEx-Replace/m-p/1136351#M280757</link>
      <description>&lt;P&gt;Amazing, thank you so much!&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:47:26 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-RegEx-Replace/m-p/1136351#M280757</guid>
      <dc:creator>RichW123</dc:creator>
      <dc:date>2023-05-22T12:47:26Z</dc:date>
    </item>
  </channel>
</rss>

