<?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 Regex not working as expected in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Regex-not-working-as-expected/m-p/2072069#M87941</link>
    <description>&lt;P&gt;For two tables sales and employee tables coming from Oracle SQL DB. Sales table is left joined with Employee table on&amp;nbsp; but we dont need region_id field values with certain regex patterns in employee table. For this we used below Oracle SQL Query.&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO 'ORACLE_DATA';&lt;BR /&gt;NRSal:&lt;BR /&gt;Load *;&lt;BR /&gt;SQL Select *&lt;BR /&gt;from sales s, employees e&lt;BR /&gt;where 1=1&lt;BR /&gt;and s.sales_Id=e.id&lt;BR /&gt;and not regexp_like (s.region_id,e.rgn_id);&lt;/P&gt;
&lt;P&gt;the above rgn_id has regex expression: '^[0-9]{4}[A-Z]{2}[0-9]{3}[A-Z]{2}([0-9]|[A-Z]){3}$' as one of the expressions, which is not expected to be populated. But the data is populating these corresponding values also.&lt;/P&gt;
&lt;P&gt;Any clue how to resolve this. When the above regex expression is used instead of e.rgn_id, the results are as expected. But we may need the same results for other regions also as well.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:48:04 GMT</pubDate>
    <dc:creator>UMARTHI</dc:creator>
    <dc:date>2024-11-15T21:48:04Z</dc:date>
    <item>
      <title>Regex not working as expected</title>
      <link>https://community.qlik.com/t5/App-Development/Regex-not-working-as-expected/m-p/2072069#M87941</link>
      <description>&lt;P&gt;For two tables sales and employee tables coming from Oracle SQL DB. Sales table is left joined with Employee table on&amp;nbsp; but we dont need region_id field values with certain regex patterns in employee table. For this we used below Oracle SQL Query.&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO 'ORACLE_DATA';&lt;BR /&gt;NRSal:&lt;BR /&gt;Load *;&lt;BR /&gt;SQL Select *&lt;BR /&gt;from sales s, employees e&lt;BR /&gt;where 1=1&lt;BR /&gt;and s.sales_Id=e.id&lt;BR /&gt;and not regexp_like (s.region_id,e.rgn_id);&lt;/P&gt;
&lt;P&gt;the above rgn_id has regex expression: '^[0-9]{4}[A-Z]{2}[0-9]{3}[A-Z]{2}([0-9]|[A-Z]){3}$' as one of the expressions, which is not expected to be populated. But the data is populating these corresponding values also.&lt;/P&gt;
&lt;P&gt;Any clue how to resolve this. When the above regex expression is used instead of e.rgn_id, the results are as expected. But we may need the same results for other regions also as well.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Regex-not-working-as-expected/m-p/2072069#M87941</guid>
      <dc:creator>UMARTHI</dc:creator>
      <dc:date>2024-11-15T21:48:04Z</dc:date>
    </item>
  </channel>
</rss>

