<?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: Regex in filter with variable in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Regex-in-filter-with-variable/m-p/130054#M23469</link>
    <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/12467"&gt;@dblackwe&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where columns REGEXP '${Exp}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now Exp becomes a parameter for the Filter. While testing it, provide any expression as you want. If you need 'ends with 01' provide the value of Exp : 01$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ends in a-z : [a-z]$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2017 11:19:57 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2017-04-12T11:19:57Z</dc:date>
    <item>
      <title>Regex in filter with variable</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Regex-in-filter-with-variable/m-p/129966#M23454</link>
      <description>&lt;P&gt;How do we use regex in a filter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I do..&lt;/P&gt;&lt;P&gt;where column regex '${variable}$'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want where column ends with variable, but $ and {} are both regex code bits and I can't get the sql query I need. &amp;nbsp;Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:13:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Regex-in-filter-with-variable/m-p/129966#M23454</guid>
      <dc:creator>dblackwe</dc:creator>
      <dc:date>2025-06-04T15:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in filter with variable</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Regex-in-filter-with-variable/m-p/130054#M23469</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/12467"&gt;@dblackwe&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where columns REGEXP '${Exp}'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now Exp becomes a parameter for the Filter. While testing it, provide any expression as you want. If you need 'ends with 01' provide the value of Exp : 01$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ends in a-z : [a-z]$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 11:19:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Regex-in-filter-with-variable/m-p/130054#M23469</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2017-04-12T11:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in filter with variable</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Regex-in-filter-with-variable/m-p/130073#M23476</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/12467"&gt;@dblackwe&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can suggest another way. If you are finding it difficult to get your filter SQL with REGEXP then just don't have a regexp in filter SQL at all. Have it as a &amp;nbsp;plain parameter like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;WHERE column LIKE '%${varible}'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now your filter has a parameter, $variable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In workflow User-Input, you can define your Regex for this string $varibale. So this will give you the desired result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 17:54:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Regex-in-filter-with-variable/m-p/130073#M23476</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2017-04-12T17:54:26Z</dc:date>
    </item>
  </channel>
</rss>

