<?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 extract key words from variables in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527371#M5281</link>
    <description>&lt;P&gt;one more way is to use regex&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;^(.+_)?&amp;nbsp; this indicates to start from beginning and go till another instruction in this case till next pattern and this is first pattern&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;([^\_]+_[^\_]+)$ indicates anything_anything at the end and is second pattern&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;$2 indicates replace&amp;nbsp; everything with second pattern&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
var_new = prxchange('s/^(.+_)?([^\_]+_[^\_]+)$/$2/', -1, trim(var));
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jan 2019 16:38:52 GMT</pubDate>
    <dc:creator>kiranv_</dc:creator>
    <dc:date>2019-01-15T16:38:52Z</dc:date>
    <item>
      <title>how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527321#M5262</link>
      <description>&lt;P&gt;Hi SAS community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for looking at my post!&lt;/P&gt;&lt;P&gt;I have a question,&lt;/P&gt;&lt;P&gt;I have a variable which takes value like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1545253657356_EI_1_15_CUP_A&lt;/P&gt;&lt;P&gt;1545253657356_EI_1_15_MUG_A&lt;/P&gt;&lt;P&gt;1545265347356_EI_1_15_BOWL_A&lt;/P&gt;&lt;P&gt;1545T432657356_EI_1_15_CUP_B&lt;/P&gt;&lt;P&gt;15452657356_EI_1_15_MUG_B&lt;/P&gt;&lt;P&gt;1545265237356_EI_1_15_BOWL_B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make my variable looks like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CUP_A&lt;/P&gt;&lt;P&gt;MUG_A&lt;/P&gt;&lt;P&gt;BOWL_A&lt;/P&gt;&lt;P&gt;CUP_B&lt;/P&gt;&lt;P&gt;MUG_B&lt;/P&gt;&lt;P&gt;BOWL_B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that is, to delete the non-sense numbers and letters preceding the key words&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because I know the key words will take values only in this range:&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;CUP_A&lt;/P&gt;&lt;P&gt;MUG_A&lt;/P&gt;&lt;P&gt;BOWL_A&lt;/P&gt;&lt;P&gt;CUP_B&lt;/P&gt;&lt;P&gt;MUG_B&lt;/P&gt;&lt;P&gt;BOWL_B&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and because the number of non-sense letter/numbers preceding the key words varies, so I don't want to use a substr function,&lt;/P&gt;&lt;P&gt;which I have to manually set the position of key words&lt;/P&gt;&lt;P&gt;anyone know any SAS function that achieve this using some logic like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;extract(variable, from list&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;CUP_A&lt;/P&gt;&lt;P&gt;MUG_A&lt;/P&gt;&lt;P&gt;BOWL_A&lt;/P&gt;&lt;P&gt;CUP_B&lt;/P&gt;&lt;P&gt;MUG_B&lt;/P&gt;&lt;P&gt;BOWL_B&lt;/P&gt;&lt;P&gt;))&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;</description>
      <pubDate>Tue, 15 Jan 2019 14:54:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527321#M5262</guid>
      <dc:creator>changxuosu</dc:creator>
      <dc:date>2019-01-15T14:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527325#M5264</link>
      <description>Hi:&lt;BR /&gt;  There are functions, but you also have to use them with some kind of lookup technique. For your purposes, I'd probably use an array.&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 15 Jan 2019 15:08:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527325#M5264</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-01-15T15:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527334#M5266</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input var $50.;
cards;
1545253657356_EI_1_15_CUP_A
1545253657356_EI_1_15_MUG_A
1545265347356_EI_1_15_BOWL_A
1545T432657356_EI_1_15_CUP_B
15452657356_EI_1_15_MUG_B
1545265237356_EI_1_15_BOWL_B
;

data want;
set have;
c=count(var,'_')-1;
i=0;
do pos = findc (var, '_') by 0 while (pos) ;            
i+1;
if i=c then leave; 
pos = findc (var, '_', pos + 1) ;                     
end ; 
want=substr(var,pos+1);
keep var want;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/193702"&gt;@changxuosu&lt;/a&gt;&amp;nbsp; Play with the above and see if this works. Countc or count is something I want to confirm along with find group of functions. Let me have a coffee and review again&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 15:31:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527334#M5266</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-01-15T15:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527350#M5271</link>
      <description>&lt;P&gt;Using reverse, find and substr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data have;
input var $50.;
cards;
1545253657356_EI_1_15_CUP_A
1545253657356_EI_1_15_MUG_A
1545265347356_EI_1_15_BOWL_A
1545T432657356_EI_1_15_CUP_B
15452657356_EI_1_15_MUG_B
1545265237356_EI_1_15_BOWL_B
;

data want;
set have;
t=strip(reverse(var));
want=reverse(substr(t,1,findc(t,'_',3)-1));
drop t;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Jan 2019 15:52:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527350#M5271</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-01-15T15:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527352#M5272</link>
      <description>&lt;P&gt;Or use the SCAN function to extract the last two "words":&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
length want $6;
want=scan(var,-2,'_')||'_'||scan(var,-1,'_');
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Jan 2019 15:59:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527352#M5272</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-01-15T15:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527357#M5275</link>
      <description>Hi:&lt;BR /&gt; I have a couple of questions:&lt;BR /&gt;1) Is the string you want ALWAYS at the end of the variable?&lt;BR /&gt;2) What if the end of the variable had PLATE_A or CAT_A -- would you still want those to be extracted or do you only want the 6 strings you listed?&lt;BR /&gt;3) Are there ALWAYS underscores and ONLY underscores in the string?&lt;BR /&gt;4) You said the numbers at the beginning of the string were "nonsense", but are you sure you will NEVER need them?&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 15 Jan 2019 16:14:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527357#M5275</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-01-15T16:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527360#M5276</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp; Do you know the difference between genius and ordinary?. You may not, coz the former is synonym of who you are. That's what it is. Your presence of mind made that distinction. How I wish I could think like that. Simple and effective. Easy to handle and maintain. Kudos!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One day i will become good like you(hmm i hope).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS Can't believe I didn't get the thought, the requirement is the concat of last two. Jeez! Will have to quit my evening pints and start eating veggies&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 16:19:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527360#M5276</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-01-15T16:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527361#M5277</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/193702"&gt;@changxuosu&lt;/a&gt;, I think&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;questions are for you to answer although that seems to point to me. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 16:20:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527361#M5277</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-01-15T16:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527370#M5280</link>
      <description>&lt;P&gt;And an approach that doesn't care where in the string the values may be:&lt;/P&gt;
&lt;PRE&gt;data work.example;
   input var $50.;
   array t {6} $ 6 _temporary_ ("CUP_A","MUG_A","BOWL_A","CUP_B","MUG_B","BOWL_B");
   do i= 1 to dim(t);
      if index(var,t[i])&amp;gt;0 then do;
         var=t[i];
         leave;
      end;
   end;
   drop i;
cards;
1545253657356_EI_1_15_CUP_A
1545253657356_EI_1_15_MUG_A
1545265347356_EI_1_15_BOWL_A
1545T432657356_EI_1_15_CUP_B
15452657356_EI_1_15_MUG_B
1545265237356_EI_1_15_BOWL_B
1545265237356BOWL_B_EI_1_15_
1545265237356_EI_1_15_BOWL_B
1545265237356_EI_1_15_BOWL_B
;


run;

&lt;/PRE&gt;
&lt;P&gt;If the value in var may not all be upper case but you want the lower or mixed case to be changed as well use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;      if index(upcase(var),t[i])&amp;gt;0 then do;
&lt;/PRE&gt;
&lt;P&gt;otherwise lower or mixed case such as bowl_a will remain in the long form.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 16:37:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527370#M5280</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-15T16:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527371#M5281</link>
      <description>&lt;P&gt;one more way is to use regex&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;^(.+_)?&amp;nbsp; this indicates to start from beginning and go till another instruction in this case till next pattern and this is first pattern&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;([^\_]+_[^\_]+)$ indicates anything_anything at the end and is second pattern&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;$2 indicates replace&amp;nbsp; everything with second pattern&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
var_new = prxchange('s/^(.+_)?([^\_]+_[^\_]+)$/$2/', -1, trim(var));
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 16:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527371#M5281</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2019-01-15T16:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527403#M5285</link>
      <description>Yes, those questions were for the original poster. Sorry, I just clicked so it would be at the end of the thread, not in the middle. It seems to me that there are points that really need to be clarified before writing a program. For example, what if CUP_A can be in the middle of the string? Then the REVERSE technique won't work. What if the value in the string is cup_a instead of CUP_A? What if there aren't any underscores in the string? Just a bunch of unknowns that need to be answered before I would attempt a solution. But of all the solutions, posted here, the one that I was thinking of is similar to the ARRAY solution because that allows you to provide a specific list of desired strings to search for with the INDEX function.&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 15 Jan 2019 17:32:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527403#M5285</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-01-15T17:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527662#M5302</link>
      <description>&lt;P&gt;It is depended on your criteria of Keyword.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input var $50.;
cards;
1545253657356_EI_1_15_CUP_A
1545253657356_EI_1_15_MUG_A
1545265347356_EI_1_15_BOWL_A
1545T432657356_EI_1_15_CUP_B
15452657356_EI_1_15_MUG_B
1545265237356_EI_1_15_BOWL_B
;

data want;
set have;
key=substr(var,findc(var,,'db')+2);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Jan 2019 09:15:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/527662#M5302</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-01-16T09:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528132#M5353</link>
      <description>it works perfect. thank you so much Ksharp..&lt;BR /&gt;What does the modifier 'db' mean? findc(var,,'db')+2 returns the position of the first letter of the last two words (my "key word"). How this is achieved in such a simple function?! it's like magic!</description>
      <pubDate>Thu, 17 Jan 2019 19:44:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528132#M5353</guid>
      <dc:creator>changxuosu</dc:creator>
      <dc:date>2019-01-17T19:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528133#M5354</link>
      <description>wow, this prxchange works like magic, it's my first time seeting it. will learn it. thanks a lot!</description>
      <pubDate>Thu, 17 Jan 2019 19:45:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528133#M5354</guid>
      <dc:creator>changxuosu</dc:creator>
      <dc:date>2019-01-17T19:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528134#M5355</link>
      <description>it's a smart loop! thank you so much! it worked like magic!</description>
      <pubDate>Thu, 17 Jan 2019 19:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528134#M5355</guid>
      <dc:creator>changxuosu</dc:creator>
      <dc:date>2019-01-17T19:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528135#M5356</link>
      <description>these are great questions, thank you Cynthia!</description>
      <pubDate>Thu, 17 Jan 2019 19:46:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528135#M5356</guid>
      <dc:creator>changxuosu</dc:creator>
      <dc:date>2019-01-17T19:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528136#M5357</link>
      <description>i studied your code and it worked fantastic! thank you novinosrin. hope you enjoyed your coffee &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 17 Jan 2019 19:47:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528136#M5357</guid>
      <dc:creator>changxuosu</dc:creator>
      <dc:date>2019-01-17T19:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528250#M5381</link>
      <description>&lt;P&gt;&lt;SPAN&gt;modifier 'db' means :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; 'd'&amp;nbsp; only search 0-9 number, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;'b' search number from RIGHT .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 05:50:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528250#M5381</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-01-18T05:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528299#M5388</link>
      <description>wow! that's pretty smart! Learned a lot! Thanks a lot!</description>
      <pubDate>Fri, 18 Jan 2019 14:12:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/528299#M5388</guid>
      <dc:creator>changxuosu</dc:creator>
      <dc:date>2019-01-18T14:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract key words from variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/539488#M7069</link>
      <description>&lt;P&gt;thank you so much for your input. it opened my door to the new world of regex, never knew it before!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 21:06:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-extract-key-words-from-variables/m-p/539488#M7069</guid>
      <dc:creator>changxuosu</dc:creator>
      <dc:date>2019-02-28T21:06:27Z</dc:date>
    </item>
  </channel>
</rss>

