<?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 Search for a word between 2 words ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Search-for-a-word-between-2-words/m-p/557314#M155338</link>
    <description>&lt;P&gt;Hi all.&lt;BR /&gt;&lt;BR /&gt;I would like to ask you about search patterns in text ?&lt;BR /&gt;&lt;BR /&gt;how to search for a particular keyword :&amp;nbsp;&lt;STRONG&gt;left private home &lt;FONT color="#FF0000"&gt;or&lt;/FONT&gt;&amp;nbsp;left side private home&lt;/STRONG&gt;&lt;BR /&gt;1) &lt;FONT color="#008000"&gt;&lt;STRONG&gt;between&lt;/STRONG&gt;&lt;/FONT&gt; keyword1 '&lt;FONT color="#339966"&gt;t&lt;STRONG&gt;itle:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;STRONG&gt;'&lt;/STRONG&gt; X and keyword2 '&lt;STRONG&gt;&lt;FONT color="#339966"&gt;builder&lt;/FONT&gt; &lt;/STRONG&gt;:'&lt;BR /&gt;1A) if found , assign a value home=&lt;STRONG&gt;left private&lt;BR /&gt;&lt;/STRONG&gt;2) skip text in middle and search &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;after&lt;/STRONG&gt; &lt;/FONT&gt;the keyword&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;more information&lt;/FONT&gt;:&lt;BR /&gt;&lt;/STRONG&gt;for&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;left &lt;/FONT&gt;floor&lt;FONT color="#993366"&gt;1&lt;/FONT&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;or&lt;/FONT&gt;&amp;nbsp;&lt;FONT color="#993366"&gt;left&lt;/FONT&gt; &lt;FONT color="#993366"&gt;1&lt;/FONT&gt;floor&amp;nbsp; ( sometimes written 1floor or floor1)&lt;/STRONG&gt;&lt;BR /&gt;2A) if found , assign to the variable: SIDE the value &lt;STRONG&gt;left&lt;/STRONG&gt; ( or &lt;STRONG&gt;right&lt;/STRONG&gt;) and the value &lt;STRONG&gt;1&lt;/STRONG&gt;floor to the variable floor&amp;nbsp; ( the number of flours could vary from 0 to 10)&lt;BR /&gt;here is the text for example:&lt;BR /&gt;&lt;BR /&gt;and&amp;nbsp; ( if possible)..&lt;BR /&gt;3) if in the first task home=&lt;STRONG&gt;left private &lt;/STRONG&gt;and&amp;nbsp;&lt;STRONG&gt;SIDE = right (missmatch of sides ..) &lt;/STRONG&gt;add a mention to the variable missmatch=problem&lt;/P&gt;&lt;PRE&gt;Hello this is some text

&lt;STRONG&gt;&lt;FONT color="#339966"&gt;title :&lt;/FONT&gt;&lt;/STRONG&gt; great news here    &amp;lt;-- first part of the exercise 
&lt;STRONG&gt;new beautiful left private home  &lt;/STRONG&gt;&amp;lt;-- this is the scope to start with

&lt;STRONG&gt;&lt;FONT color="#339966"&gt;builder:&lt;/FONT&gt;&lt;/STRONG&gt; 
a new company constructed the home 

blablbablablbablablbablablbablablba
some text .....

for &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;more information:&lt;/STRONG&gt;&lt;/FONT&gt; 
you can contact to acquire left floor1 Mr. smith, or Mr John&lt;/PRE&gt;&lt;P&gt;I'm trying to figure out how to use RE and internal SAS F to search for text...that is in variables, I'll have to put all in a loop afterwards..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank your response&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2019 23:13:12 GMT</pubDate>
    <dc:creator>SIgnificatif</dc:creator>
    <dc:date>2019-05-08T23:13:12Z</dc:date>
    <item>
      <title>Search for a word between 2 words ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-for-a-word-between-2-words/m-p/557314#M155338</link>
      <description>&lt;P&gt;Hi all.&lt;BR /&gt;&lt;BR /&gt;I would like to ask you about search patterns in text ?&lt;BR /&gt;&lt;BR /&gt;how to search for a particular keyword :&amp;nbsp;&lt;STRONG&gt;left private home &lt;FONT color="#FF0000"&gt;or&lt;/FONT&gt;&amp;nbsp;left side private home&lt;/STRONG&gt;&lt;BR /&gt;1) &lt;FONT color="#008000"&gt;&lt;STRONG&gt;between&lt;/STRONG&gt;&lt;/FONT&gt; keyword1 '&lt;FONT color="#339966"&gt;t&lt;STRONG&gt;itle:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;STRONG&gt;'&lt;/STRONG&gt; X and keyword2 '&lt;STRONG&gt;&lt;FONT color="#339966"&gt;builder&lt;/FONT&gt; &lt;/STRONG&gt;:'&lt;BR /&gt;1A) if found , assign a value home=&lt;STRONG&gt;left private&lt;BR /&gt;&lt;/STRONG&gt;2) skip text in middle and search &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;after&lt;/STRONG&gt; &lt;/FONT&gt;the keyword&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;more information&lt;/FONT&gt;:&lt;BR /&gt;&lt;/STRONG&gt;for&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;left &lt;/FONT&gt;floor&lt;FONT color="#993366"&gt;1&lt;/FONT&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;or&lt;/FONT&gt;&amp;nbsp;&lt;FONT color="#993366"&gt;left&lt;/FONT&gt; &lt;FONT color="#993366"&gt;1&lt;/FONT&gt;floor&amp;nbsp; ( sometimes written 1floor or floor1)&lt;/STRONG&gt;&lt;BR /&gt;2A) if found , assign to the variable: SIDE the value &lt;STRONG&gt;left&lt;/STRONG&gt; ( or &lt;STRONG&gt;right&lt;/STRONG&gt;) and the value &lt;STRONG&gt;1&lt;/STRONG&gt;floor to the variable floor&amp;nbsp; ( the number of flours could vary from 0 to 10)&lt;BR /&gt;here is the text for example:&lt;BR /&gt;&lt;BR /&gt;and&amp;nbsp; ( if possible)..&lt;BR /&gt;3) if in the first task home=&lt;STRONG&gt;left private &lt;/STRONG&gt;and&amp;nbsp;&lt;STRONG&gt;SIDE = right (missmatch of sides ..) &lt;/STRONG&gt;add a mention to the variable missmatch=problem&lt;/P&gt;&lt;PRE&gt;Hello this is some text

&lt;STRONG&gt;&lt;FONT color="#339966"&gt;title :&lt;/FONT&gt;&lt;/STRONG&gt; great news here    &amp;lt;-- first part of the exercise 
&lt;STRONG&gt;new beautiful left private home  &lt;/STRONG&gt;&amp;lt;-- this is the scope to start with

&lt;STRONG&gt;&lt;FONT color="#339966"&gt;builder:&lt;/FONT&gt;&lt;/STRONG&gt; 
a new company constructed the home 

blablbablablbablablbablablbablablba
some text .....

for &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;more information:&lt;/STRONG&gt;&lt;/FONT&gt; 
you can contact to acquire left floor1 Mr. smith, or Mr John&lt;/PRE&gt;&lt;P&gt;I'm trying to figure out how to use RE and internal SAS F to search for text...that is in variables, I'll have to put all in a loop afterwards..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank your response&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 23:13:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-for-a-word-between-2-words/m-p/557314#M155338</guid>
      <dc:creator>SIgnificatif</dc:creator>
      <dc:date>2019-05-08T23:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search for a word between 2 words ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-for-a-word-between-2-words/m-p/557320#M155344</link>
      <description>&lt;P&gt;Please clearly indicate which are key words. I am not sure if the word is a single word and what it may be or you want to use a phrase&lt;/P&gt;
&lt;P&gt;Your subject says "search for a word between two words" , so which are the exact two words searched between???&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;how to search for a particular keyword :&amp;nbsp;&lt;STRONG&gt;left private home &lt;FONT color="#ff0000"&gt;or&lt;/FONT&gt;&amp;nbsp;left side private home&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Is "&lt;STRONG&gt;left private home" &lt;/STRONG&gt;a key &lt;U&gt;phrase&lt;/U&gt; searching for? or is the OR what you are searching for?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And providing examples of the text to search in and showing what the actual results look like.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 23:04:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-for-a-word-between-2-words/m-p/557320#M155344</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-05-08T23:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Search for a word between 2 words ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-for-a-word-between-2-words/m-p/557323#M155346</link>
      <description>Thank you for your precision, the kw to search is 'left private home' or 'left side private home' ( not the or, the or is a condition), it must be searched BETWEEN the green text, for the other part, it must be searched AFTER the blue text</description>
      <pubDate>Wed, 08 May 2019 23:16:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-for-a-word-between-2-words/m-p/557323#M155346</guid>
      <dc:creator>SIgnificatif</dc:creator>
      <dc:date>2019-05-08T23:16:14Z</dc:date>
    </item>
  </channel>
</rss>

