<?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 ASA Reg Expression Exact Match in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776129#M7896</link>
    <description>&lt;P&gt;I am trying to build ASA regex which will match only if the URL Is exactly &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But it is also matching &lt;A href="https://yahoo.co" target="_blank"&gt;https://yahoo.co&lt;/A&gt; or https://yahoo etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ciscoasa# test regex "&lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt;" "&lt;A href="https://yahoo.co" target="_blank"&gt;https://yahoo.co&lt;/A&gt;"&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;/P&gt;
&lt;P&gt;ciscoasa# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; https://yahoo\.com&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa#&lt;BR /&gt;ciscoasa#&lt;BR /&gt;ciscoasa# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; https://yahoo\.co&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; https://yaho&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there way to specify End of String like we can use ^ to specify beginning of string.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 16:38:42 GMT</pubDate>
    <dc:creator>HARIS_HUSSAIN</dc:creator>
    <dc:date>2020-02-21T16:38:42Z</dc:date>
    <item>
      <title>ASA Reg Expression Exact Match</title>
      <link>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776129#M7896</link>
      <description>&lt;P&gt;I am trying to build ASA regex which will match only if the URL Is exactly &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But it is also matching &lt;A href="https://yahoo.co" target="_blank"&gt;https://yahoo.co&lt;/A&gt; or https://yahoo etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ciscoasa# test regex "&lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt;" "&lt;A href="https://yahoo.co" target="_blank"&gt;https://yahoo.co&lt;/A&gt;"&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;/P&gt;
&lt;P&gt;ciscoasa# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; https://yahoo\.com&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa#&lt;BR /&gt;ciscoasa#&lt;BR /&gt;ciscoasa# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; https://yahoo\.co&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; https://yaho&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there way to specify End of String like we can use ^ to specify beginning of string.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 16:38:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776129#M7896</guid>
      <dc:creator>HARIS_HUSSAIN</dc:creator>
      <dc:date>2020-02-21T16:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Reg Expression Exact Match</title>
      <link>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776152#M7898</link>
      <description>&lt;P&gt;have you looked at this reference guide :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/100535-asa-8x-regex-config.html" target="_blank"&gt;https://www.cisco.com/c/en/us/support/docs/security/asa-5500-x-series-next-generation-firewalls/100535-asa-8x-regex-config.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.pexip.com/admin/regex_reference.htm" target="_blank"&gt;https://docs.pexip.com/admin/regex_reference.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 15:11:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776152#M7898</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2019-01-09T15:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Reg Expression Exact Match</title>
      <link>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776393#M7900</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="regex.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/27448i146802414D73695C/image-size/large?v=v2&amp;amp;px=999" role="button" title="regex.png" alt="regex.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try ^https:\/\/yahoo\.com&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 20:30:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776393#M7900</guid>
      <dc:creator>Collin Clark</dc:creator>
      <dc:date>2019-01-09T20:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Reg Expression Exact Match</title>
      <link>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776425#M7903</link>
      <description>&lt;P&gt;You can use the $ to match end of string.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 21:16:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776425#M7903</guid>
      <dc:creator>Marius Gunnerud</dc:creator>
      <dc:date>2019-01-09T21:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Reg Expression Exact Match</title>
      <link>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776633#M7904</link>
      <description>&lt;P&gt;Nope Not Working&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ciscoasa(config)#&lt;BR /&gt;ciscoasa(config)# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; ^https:\/\/yahoo\.com&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa(config)# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; ^https:\/\/yahoo\.c&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa(config)# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; ^https:\/\/yahoo\.com$&lt;BR /&gt;INFO: Regular expression match failed.&lt;BR /&gt;ciscoasa(config)# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; ^&lt;A href="https://yahoo.com$" target="_blank"&gt;https://yahoo.com$&lt;/A&gt;&lt;BR /&gt;INFO: Regular expression match failed.&lt;BR /&gt;ciscoasa(config)# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; ^&lt;A href="https://yahoo.com\$" target="_blank"&gt;https://yahoo.com\$&lt;/A&gt;&lt;BR /&gt;INFO: Regular expression match failed.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 06:20:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776633#M7904</guid>
      <dc:creator>HARIS_HUSSAIN</dc:creator>
      <dc:date>2019-01-10T06:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Reg Expression Exact Match</title>
      <link>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776635#M7906</link>
      <description>&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/319690"&gt;@Marius Gunnerud&lt;/a&gt;.&lt;BR /&gt;Tried with $ but still not working !!&lt;BR /&gt;&lt;BR /&gt;ciscoasa(config)#&lt;BR /&gt;ciscoasa(config)# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; ^https:\/\/yahoo\.com&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa(config)# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; ^https:\/\/yahoo\.c&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa(config)# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; ^https:\/\/yahoo\.com$&lt;BR /&gt;INFO: Regular expression match failed.&lt;BR /&gt;ciscoasa(config)# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; ^&lt;A href="https://yahoo.com$" target="_blank"&gt;https://yahoo.com$&lt;/A&gt;&lt;BR /&gt;INFO: Regular expression match failed.&lt;BR /&gt;ciscoasa(config)# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; ^&lt;A href="https://yahoo.com\$" target="_blank"&gt;https://yahoo.com\$&lt;/A&gt;&lt;BR /&gt;INFO: Regular expression match failed.</description>
      <pubDate>Thu, 10 Jan 2019 06:21:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776635#M7906</guid>
      <dc:creator>HARIS_HUSSAIN</dc:creator>
      <dc:date>2019-01-10T06:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Reg Expression Exact Match</title>
      <link>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776766#M7907</link>
      <description>&lt;P&gt;It looks like you are testing incorrectly.&amp;nbsp; You are changing the regex expression instead of the URL you are matching against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ASA3# test regex &lt;A href="https://yahoo.com" target="_blank"&gt;https://yahoo.com&lt;/A&gt; ^https:\/\/yahoo\.com&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ASA3# test regex &lt;A href="https://yahoo.co" target="_blank"&gt;https://yahoo.co&lt;/A&gt; ^https:\/\/yahoo\.com &lt;BR /&gt;INFO: Regular expression match failed.&lt;BR /&gt;ASA3# test regex https://yahoo ^https:\/\/yahoo\.com &lt;BR /&gt;INFO: Regular expression match failed.&lt;BR /&gt;ASA3# test regex yahoo.com ^https:\/\/yahoo\.com &lt;BR /&gt;INFO: Regular expression match failed.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 09:51:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776766#M7907</guid>
      <dc:creator>Marius Gunnerud</dc:creator>
      <dc:date>2019-01-10T09:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Reg Expression Exact Match</title>
      <link>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776852#M7908</link>
      <description>&lt;P&gt;Dear Marius,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Still the issue is that we cannot define End of String.&lt;/P&gt;
&lt;P&gt;So if there is any test after the string still it will match as below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ciscoasa#&lt;BR /&gt;ciscoasa# test regex &lt;A href="http://yahoo.com/a" target="_blank"&gt;http://yahoo.com/a&lt;/A&gt; "http://yahoo\.com"&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa# test regex &lt;A href="http://yahoo.com/test" target="_blank"&gt;http://yahoo.com/test&lt;/A&gt; "http://yahoo\.com"&lt;BR /&gt;INFO: Regular expression match succeeded.&lt;BR /&gt;ciscoasa# test regex &lt;A href="http://yahoo.co" target="_blank"&gt;http://yahoo.co&lt;/A&gt; "http://yahoo\.com"&lt;BR /&gt;INFO: Regular expression match failed.&lt;BR /&gt;ciscoasa#&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 12:50:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/3776852#M7908</guid>
      <dc:creator>HARIS_HUSSAIN</dc:creator>
      <dc:date>2019-01-10T12:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Reg Expression Exact Match</title>
      <link>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/4140157#M1073274</link>
      <description>&lt;P&gt;possibly try with an * at the end:&lt;/P&gt;&lt;P&gt;"http://yahoo\.com*"&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 06:35:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-reg-expression-exact-match/m-p/4140157#M1073274</guid>
      <dc:creator>SgtMike70</dc:creator>
      <dc:date>2020-08-24T06:35:45Z</dc:date>
    </item>
  </channel>
</rss>

