<?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 for the file name contains field on File Attributes Data object in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Regex-for-the-file-name-contains-field-on-File-Attributes-Data/m-p/96877#M19053</link>
    <description>&lt;P&gt;I can do this which covers all extensions I am looking to catch with this object just not case INSENSITIVE.&lt;/P&gt;&lt;P&gt;.*\.(ps|ps1|scr|vbs|bat|cmd|com|cpl|gadget|msc|msi|msp|pif)$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so test.bat is caught, test.Bat is not.&lt;/P&gt;&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;/.*\.(ps|ps1|scr|vbs|bat|cmd|com|cpl|gadget|msc|msi|msp|pif)$/i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While it will take it, it is not ignoring case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also tried:&lt;/P&gt;&lt;P&gt;{caseless}:.*\.(ps|ps1|scr|vbs|bat|cmd|com|cpl|gadget|msc|msi|msp|pif)$&lt;/P&gt;&lt;P&gt;based on some checkpoint document I found from years ago, but the GUI won't accept that and says it is not a proper regex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any information anyone has on this.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2020 16:36:08 GMT</pubDate>
    <dc:creator>bmd</dc:creator>
    <dc:date>2020-09-16T16:36:08Z</dc:date>
    <item>
      <title>Regex for the file name contains field on File Attributes Data object</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Regex-for-the-file-name-contains-field-on-File-Attributes-Data/m-p/96877#M19053</link>
      <description>&lt;P&gt;I can do this which covers all extensions I am looking to catch with this object just not case INSENSITIVE.&lt;/P&gt;&lt;P&gt;.*\.(ps|ps1|scr|vbs|bat|cmd|com|cpl|gadget|msc|msi|msp|pif)$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so test.bat is caught, test.Bat is not.&lt;/P&gt;&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;/.*\.(ps|ps1|scr|vbs|bat|cmd|com|cpl|gadget|msc|msi|msp|pif)$/i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While it will take it, it is not ignoring case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also tried:&lt;/P&gt;&lt;P&gt;{caseless}:.*\.(ps|ps1|scr|vbs|bat|cmd|com|cpl|gadget|msc|msi|msp|pif)$&lt;/P&gt;&lt;P&gt;based on some checkpoint document I found from years ago, but the GUI won't accept that and says it is not a proper regex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any information anyone has on this.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 16:36:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Regex-for-the-file-name-contains-field-on-File-Attributes-Data/m-p/96877#M19053</guid>
      <dc:creator>bmd</dc:creator>
      <dc:date>2020-09-16T16:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for the file name contains field on File Attributes Data object</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Regex-for-the-file-name-contains-field-on-File-Attributes-Data/m-p/96971#M19062</link>
      <description>&lt;P&gt;Responding to my own posting in case someone else finds this.&lt;/P&gt;&lt;P&gt;You just have to include at the begining (?i) for it to disregard case.&lt;/P&gt;&lt;P&gt;So to cover extensions that are likely harbor malware in some form I am using:&lt;/P&gt;&lt;P&gt;(?i).*\.(ps|ps1|ps1xml|ps2|ps2xml|psc1|psc2|scr|vb|vbs|vbe|bat|cmd|com|cpl|gadget|msc|msi|msp|pif|application|hta|ws|wsf|wsc|wsh|msh|msh1|msh2|scf|lnk|reg)$&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 18:36:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Regex-for-the-file-name-contains-field-on-File-Attributes-Data/m-p/96971#M19062</guid>
      <dc:creator>bmd</dc:creator>
      <dc:date>2020-09-17T18:36:47Z</dc:date>
    </item>
  </channel>
</rss>

