<?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 using wildcards in regex in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/using-wildcards-in-regex/m-p/766574#M10145</link>
    <description>&lt;P&gt;Using wildcards with regex_count. In snowflake directly, this syntax&amp;nbsp; below will be accepted.&amp;nbsp; But in sas there is an issue with the wildcard at the end that I can't figure out how to workaround.&amp;nbsp; It seems to look at it like I'm incorrectly trying to comment something out. Syntax below is looking for "all your questions" essentially, with word distance in between and a wildcard on question* to account for text-to-speech inaccuracies. Even though I could use more iterations of question(s)(ing), would like to know if anyone has a solution for future wildcard needs like this scenario.&amp;nbsp; Thanks you for any help you can provide in answering this question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;REGEXP_COUNT(LOWER(TranscriptFieldName), '\\b(all)([,.!?]? ?\\b[^\\s]+\\b[,.!?]?){0,3}[,.!?]? (your|you\'re)([,.!?]? ?\\b[^\\s]+\\b[,.!?]?){0,3}[,.!?]? question[a-z]*\\b')&lt;/P&gt;</description>
    <pubDate>Wed, 08 Sep 2021 13:45:12 GMT</pubDate>
    <dc:creator>McSquarewolf</dc:creator>
    <dc:date>2021-09-08T13:45:12Z</dc:date>
    <item>
      <title>using wildcards in regex</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/using-wildcards-in-regex/m-p/766574#M10145</link>
      <description>&lt;P&gt;Using wildcards with regex_count. In snowflake directly, this syntax&amp;nbsp; below will be accepted.&amp;nbsp; But in sas there is an issue with the wildcard at the end that I can't figure out how to workaround.&amp;nbsp; It seems to look at it like I'm incorrectly trying to comment something out. Syntax below is looking for "all your questions" essentially, with word distance in between and a wildcard on question* to account for text-to-speech inaccuracies. Even though I could use more iterations of question(s)(ing), would like to know if anyone has a solution for future wildcard needs like this scenario.&amp;nbsp; Thanks you for any help you can provide in answering this question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;REGEXP_COUNT(LOWER(TranscriptFieldName), '\\b(all)([,.!?]? ?\\b[^\\s]+\\b[,.!?]?){0,3}[,.!?]? (your|you\'re)([,.!?]? ?\\b[^\\s]+\\b[,.!?]?){0,3}[,.!?]? question[a-z]*\\b')&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:45:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/using-wildcards-in-regex/m-p/766574#M10145</guid>
      <dc:creator>McSquarewolf</dc:creator>
      <dc:date>2021-09-08T13:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: using wildcards in regex</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/using-wildcards-in-regex/m-p/766579#M10146</link>
      <description>&lt;P&gt;So that is not SAS code.&amp;nbsp; What is the SAS code you are running?&amp;nbsp; Are just use PROC SQL to submit that code directly to SNOWFLAKE?&amp;nbsp; If so please show the SAS code.&amp;nbsp; If you get an error message include the SAS log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure to use the Insert Code or Insert SAS code button on the forum editors menu bar to paste in the text from your log or program.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 14:09:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/using-wildcards-in-regex/m-p/766579#M10146</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-09-08T14:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: using wildcards in regex</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/using-wildcards-in-regex/m-p/766654#M10147</link>
      <description>That's a good point, my fault. Where I'm having trouble is using this&lt;BR /&gt;syntax in a pass through to snowflake in a sas job.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2021 17:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/using-wildcards-in-regex/m-p/766654#M10147</guid>
      <dc:creator>McSquarewolf</dc:creator>
      <dc:date>2021-09-08T17:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: using wildcards in regex</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/using-wildcards-in-regex/m-p/766758#M10148</link>
      <description>&lt;P&gt;Please show the actual code you used.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS has three types of comments and none of them are in the snippet you showed.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 03:27:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/using-wildcards-in-regex/m-p/766758#M10148</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-09-09T03:27:56Z</dc:date>
    </item>
  </channel>
</rss>

