<?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 escape the ' delimiter to add it to a REGEX pattern in SQL in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/How-to-escape-the-delimiter-to-add-it-to-a-REGEX-pattern-in-SQL/m-p/2199853#M396</link>
    <description>Hi Keyth,&lt;BR /&gt;did you try to add \ before the ' character?</description>
    <pubDate>Mon, 04 Apr 2016 09:27:17 GMT</pubDate>
    <dc:creator>Sebastiao_Qlik</dc:creator>
    <dc:date>2016-04-04T09:27:17Z</dc:date>
    <item>
      <title>How to escape the ' delimiter to add it to a REGEX pattern in SQL</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-escape-the-delimiter-to-add-it-to-a-REGEX-pattern-in-SQL/m-p/2199852#M395</link>
      <description>&lt;FONT size="2"&gt;&lt;FONT face="Verdana," sans-serif=""&gt;I added a REGEX pattern to Talend to check for valid alpha only names, I got the pattern correct except I need to add the ' character as a valid name could be O'Brian. The only issue is that that character is used to enclose the pattern in the SQL statement and if I add it causes a syntax error. Would appreciate it if someone could tell me how to include the character to the below. Thank you in advance!&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;[size=2][font=Verdana, sans-serif]SELECT "LASTNAME" FROM "CAIDAN"."MEMBERMASTER" &amp;nbsp;WHERE ( &amp;nbsp;NOT REGEXP_LIKE("LASTNAME" , 
&lt;B&gt;'^[a-zA-Z .-]+$'&lt;/B&gt; ) &amp;nbsp;OR "LASTNAME" IS NULL )[/font][/size]</description>
      <pubDate>Sat, 16 Nov 2024 10:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-escape-the-delimiter-to-add-it-to-a-REGEX-pattern-in-SQL/m-p/2199852#M395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to escape the ' delimiter to add it to a REGEX pattern in SQL</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-escape-the-delimiter-to-add-it-to-a-REGEX-pattern-in-SQL/m-p/2199853#M396</link>
      <description>Hi Keyth,&lt;BR /&gt;did you try to add \ before the ' character?</description>
      <pubDate>Mon, 04 Apr 2016 09:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-escape-the-delimiter-to-add-it-to-a-REGEX-pattern-in-SQL/m-p/2199853#M396</guid>
      <dc:creator>Sebastiao_Qlik</dc:creator>
      <dc:date>2016-04-04T09:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to escape the ' delimiter to add it to a REGEX pattern in SQL</title>
      <link>https://community.qlik.com/t5/Data-Quality/How-to-escape-the-delimiter-to-add-it-to-a-REGEX-pattern-in-SQL/m-p/2199854#M397</link>
      <description>Yes, tried that and it seemed to cause a syntax error. I also noticed that a name like O'Brian in the test window also caused an error? It someone at Talend could take the REGEX posted and try it in Talend with a test name like O'Brian you should get the same error.</description>
      <pubDate>Mon, 04 Apr 2016 16:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/How-to-escape-the-delimiter-to-add-it-to-a-REGEX-pattern-in-SQL/m-p/2199854#M397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-04T16:55:24Z</dc:date>
    </item>
  </channel>
</rss>

