<?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: Multiple regex query in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408053#M26186</link>
    <description>&lt;P&gt;This should work fine, I was being lazy and trying to get countries linked in through a table join&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2017 14:30:37 GMT</pubDate>
    <dc:creator>ICL1986</dc:creator>
    <dc:date>2017-10-27T14:30:37Z</dc:date>
    <item>
      <title>Multiple regex query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/407957#M26179</link>
      <description>&lt;P&gt;Hi, I'm working with some banking data containing IBANs, and would like to use a list of regular expressions (using SUBSTR and PRXMATCH) to extract them from text strings. I've tried creating a separate table containing the regex, for example ‘/AL\d{24}/’,&lt;BR /&gt;&amp;nbsp;'/AD\d{20}/’, ‘/AT\d{16}/’, '/LV\d{2}\D{4}\d{13}/', and then bringing that in as a column to query against the data, but am getting no results. Does anyone know how I might be able to do this? Current PRXMATCH expression is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PRXMATCH(t2.Regex,t1.TextcolumnwithIBAN)&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 09:00:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/407957#M26179</guid>
      <dc:creator>ICL1986</dc:creator>
      <dc:date>2017-10-27T09:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple regex query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408013#M26180</link>
      <description>&lt;P&gt;it will be easier to help, if you can provide an example/sample of what is not working and what your output should look like&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 13:17:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408013#M26180</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2017-10-27T13:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple regex query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408019#M26181</link>
      <description>&lt;P&gt;Sure, I've attached a short representation of the two tables, and the desired output from the PRXMATCH statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Ian&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 13:30:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408019#M26181</guid>
      <dc:creator>ICL1986</dc:creator>
      <dc:date>2017-10-27T13:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple regex query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408034#M26182</link>
      <description>&lt;P&gt;still it is not very clear to me what code you have tried. But if you are using multiple values you need to use a pipe not a comma.&lt;/P&gt;
&lt;P&gt;comma&lt;/P&gt;
&lt;P&gt;‘/AL\d{24}/’,'/AD\d{20}/’, ‘/AT\d{16}/’, '/LV\d{2}\D{4}\d{13}/'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;pipe&lt;/P&gt;
&lt;P&gt;‘/AL\d{24}/’|'/AD\d{20}/’| ‘/AT\d{16}/’| '/LV\d{2}\D{4}\d{13}/'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 14:14:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408034#M26182</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2017-10-27T14:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple regex query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408044#M26184</link>
      <description>&lt;P&gt;With the two tables I attached, I&amp;nbsp;created a query within Table 1, added Table 2 to the query, and then added a column with the advanced expression PRXMATCH(Table 2.IBAN Regex, Table 1.Text Column). There are just under 70 IBAN types but I suppose using the | divider would work, and then I could extract countries from there.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 14:25:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408044#M26184</guid>
      <dc:creator>ICL1986</dc:creator>
      <dc:date>2017-10-27T14:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple regex query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408046#M26185</link>
      <description>&lt;P&gt;| means or&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 14:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408046#M26185</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2017-10-27T14:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple regex query</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408053#M26186</link>
      <description>&lt;P&gt;This should work fine, I was being lazy and trying to get countries linked in through a table join&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 14:30:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Multiple-regex-query/m-p/408053#M26186</guid>
      <dc:creator>ICL1986</dc:creator>
      <dc:date>2017-10-27T14:30:37Z</dc:date>
    </item>
  </channel>
</rss>

