<?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: String extraction to include words around a specific word in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/538047#M115366</link>
    <description>&lt;P&gt;You are welcome&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/87672"&gt;@Josk&lt;/a&gt;.&amp;nbsp; I am glad it helped you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simha&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2020 14:03:33 GMT</pubDate>
    <dc:creator>Simha</dc:creator>
    <dc:date>2020-03-06T14:03:33Z</dc:date>
    <item>
      <title>String extraction to include words around a specific word</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537025#M115011</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like extract a part of a sentence around a key word.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; John wants to buy 5 apples today in the market.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; There are three apples in the fruit bowl.&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; The red apples fell from the tree.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; buy 5 apples today in&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; are three apples in the&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; The red apple fell from&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes there could be a number before the term apple or a full word, but ideally I would like to extract 2 either words or numbers (a number with multiple digits should cound as one number) and 2 words after and of course include the word apples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joseph&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 21:43:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537025#M115011</guid>
      <dc:creator>Josk</dc:creator>
      <dc:date>2024-06-13T21:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: String extraction to include words around a specific word</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537062#M115021</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could this solution work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simha&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simha_0-1583340444693.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/101355i2EA5F4812A4E061A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Simha_0-1583340444693.png" alt="Simha_0-1583340444693.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 16:47:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537062#M115021</guid>
      <dc:creator>Simha</dc:creator>
      <dc:date>2020-03-04T16:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: String extraction to include words around a specific word</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537295#M115082</link>
      <description>&lt;P&gt;People with more skill can probably make this neater, but this seems to work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;\&amp;lt;\w+\&amp;gt;\s\&amp;lt;\w+\&amp;gt;\sapples\s\&amp;lt;\w+\&amp;gt;\s\&amp;lt;\w+\&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 05:20:36 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537295#M115082</guid>
      <dc:creator>MeaganP</dc:creator>
      <dc:date>2020-03-05T05:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: String extraction to include words around a specific word</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537426#M115145</link>
      <description>&lt;P&gt;Hi Meagan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried what you suggested but got the following error:&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="Josk_0-1583414819158.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/101451i4F2282C4A235A4FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Josk_0-1583414819158.png" alt="Josk_0-1583414819158.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joseph&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 13:27:17 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537426#M115145</guid>
      <dc:creator>Josk</dc:creator>
      <dc:date>2020-03-05T13:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: String extraction to include words around a specific word</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537791#M115278</link>
      <description>&lt;P&gt;This is what I have:&lt;/P&gt;&lt;P&gt;There might be a better way, but 'm putting the section we want into a new column then removing the whitespace and selecting only that column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="MeaganP_0-1583446929536.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/101527i45A5967F61094D55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MeaganP_0-1583446929536.png" alt="MeaganP_0-1583446929536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 22:23:20 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537791#M115278</guid>
      <dc:creator>MeaganP</dc:creator>
      <dc:date>2020-03-05T22:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: String extraction to include words around a specific word</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537940#M115324</link>
      <description>&lt;P&gt;Thanks Simha!&amp;nbsp; This seems to work.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 08:22:34 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/537940#M115324</guid>
      <dc:creator>Josk</dc:creator>
      <dc:date>2020-03-06T08:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: String extraction to include words around a specific word</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/538047#M115366</link>
      <description>&lt;P&gt;You are welcome&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/87672"&gt;@Josk&lt;/a&gt;.&amp;nbsp; I am glad it helped you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simha&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 14:03:33 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/String-extraction-to-include-words-around-a-specific-word/m-p/538047#M115366</guid>
      <dc:creator>Simha</dc:creator>
      <dc:date>2020-03-06T14:03:33Z</dc:date>
    </item>
  </channel>
</rss>

