<?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: how to find multiple words in a string in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-find-multiple-words-in-a-string/m-p/647557#M78637</link>
    <description>The PRXMATCH function, for Perl Regular Expressions Match, can do it &lt;BR /&gt;&lt;BR /&gt;    if prxmatch("m/abc|sas|hi/oi",string) &amp;gt; 0 then flag=1;&lt;BR /&gt;    else found=0;&lt;BR /&gt;&lt;BR /&gt;see &lt;A href="https://support.sas.com/kb/38/719.html" target="_blank"&gt;https://support.sas.com/kb/38/719.html&lt;/A&gt;</description>
    <pubDate>Wed, 13 May 2020 17:47:49 GMT</pubDate>
    <dc:creator>DavePrinsloo</dc:creator>
    <dc:date>2020-05-13T17:47:49Z</dc:date>
    <item>
      <title>how to find multiple words in a string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-find-multiple-words-in-a-string/m-p/257798#M57285</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to find more than one words in a string?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want find 'abc', 'sas','hi' in a string. I can use FINDW function three times:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if FINDW(string, 'sas') and FINDW(string, 'abc') and FINDW(tring, 'hi') then flag=1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to use a function only once to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2016 01:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-find-multiple-words-in-a-string/m-p/257798#M57285</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2016-03-20T01:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to find multiple words in a string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-find-multiple-words-in-a-string/m-p/257799#M57286</link>
      <description>&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#n0bj9p4401w3n9n1gmv6tf**bleep**9m.htm" target="_self"&gt;Prxmatch&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2016 01:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-find-multiple-words-in-a-string/m-p/257799#M57286</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2016-03-20T01:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to find multiple words in a string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-find-multiple-words-in-a-string/m-p/257806#M57288</link>
      <description>&lt;P&gt;If you're doing text analytics I find it useful to split a sentence into components, switch to a long format - one word is a row, with a sentence identifier.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It makes it easier to do this type of analysis.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2016 02:18:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-find-multiple-words-in-a-string/m-p/257806#M57288</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-20T02:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to find multiple words in a string</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-find-multiple-words-in-a-string/m-p/647557#M78637</link>
      <description>The PRXMATCH function, for Perl Regular Expressions Match, can do it &lt;BR /&gt;&lt;BR /&gt;    if prxmatch("m/abc|sas|hi/oi",string) &amp;gt; 0 then flag=1;&lt;BR /&gt;    else found=0;&lt;BR /&gt;&lt;BR /&gt;see &lt;A href="https://support.sas.com/kb/38/719.html" target="_blank"&gt;https://support.sas.com/kb/38/719.html&lt;/A&gt;</description>
      <pubDate>Wed, 13 May 2020 17:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-find-multiple-words-in-a-string/m-p/647557#M78637</guid>
      <dc:creator>DavePrinsloo</dc:creator>
      <dc:date>2020-05-13T17:47:49Z</dc:date>
    </item>
  </channel>
</rss>

