<?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: Search API - How do I escape wildcard (*) character? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Search-API-How-do-I-escape-wildcard-character/m-p/910047#M70503</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/619278"&gt;@dmydlarz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;" " is used to search when length is not defined so here when you are using "***" in search then all the deals are coming up.&lt;BR /&gt;There is no way we can get deals with * in it.&lt;BR /&gt;We can't search with special char in API search.&lt;BR /&gt;what you can do here is use a loop from the results and then check whether the name includes *** them or not.&lt;BR /&gt;From the API response, you can filter out but not from Filter API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this will help you out. Please mark it as&amp;nbsp;&lt;STRONG&gt;Solution Accepted and upvote&amp;nbsp;to help another Community member.&lt;BR /&gt;Thanks!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/619278"&gt;@dmydlarz&lt;/a&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2024 13:17:52 GMT</pubDate>
    <dc:creator>GRajput</dc:creator>
    <dc:date>2024-01-23T13:17:52Z</dc:date>
    <item>
      <title>Search API - How do I escape wildcard (*) character?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Search-API-How-do-I-escape-wildcard-character/m-p/909960#M70497</link>
      <description>&lt;P&gt;In search API for CONTAINS_TOKEN there's wildcard operator - asterisk `*`.&lt;BR /&gt;&lt;BR /&gt;What if I'm interested in searching literally for that character?&lt;BR /&gt;&lt;BR /&gt;Let's say I want a list of deals that contains three asterisks in name?&lt;BR /&gt;&lt;BR /&gt;How my query should look like?&lt;BR /&gt;&lt;BR /&gt;As you may imagine this one doesn't return what I'm looking for (asterisks are treated as wildcards).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "filterGroups": [
        {
            "filters": [
                {
                    "propertyName": "dealname",
                    "operator": "CONTAINS_TOKEN",
                    "value": "***"
                }
            ]
        }
    ],
    "properties": [
        "dealname",
        "amount",
        "hs_object_id"
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 10:13:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Search-API-How-do-I-escape-wildcard-character/m-p/909960#M70497</guid>
      <dc:creator>dmydlarz</dc:creator>
      <dc:date>2024-01-23T10:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Search API - How do I escape wildcard (*) character?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Search-API-How-do-I-escape-wildcard-character/m-p/910047#M70503</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/619278"&gt;@dmydlarz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;" " is used to search when length is not defined so here when you are using "***" in search then all the deals are coming up.&lt;BR /&gt;There is no way we can get deals with * in it.&lt;BR /&gt;We can't search with special char in API search.&lt;BR /&gt;what you can do here is use a loop from the results and then check whether the name includes *** them or not.&lt;BR /&gt;From the API response, you can filter out but not from Filter API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this will help you out. Please mark it as&amp;nbsp;&lt;STRONG&gt;Solution Accepted and upvote&amp;nbsp;to help another Community member.&lt;BR /&gt;Thanks!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/619278"&gt;@dmydlarz&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 13:17:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Search-API-How-do-I-escape-wildcard-character/m-p/910047#M70503</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2024-01-23T13:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Search API - How do I escape wildcard (*) character?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Search-API-How-do-I-escape-wildcard-character/m-p/910049#M70504</link>
      <description>&lt;P&gt;Thanks for clarfication &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 13:22:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Search-API-How-do-I-escape-wildcard-character/m-p/910049#M70504</guid>
      <dc:creator>dmydlarz</dc:creator>
      <dc:date>2024-01-23T13:22:44Z</dc:date>
    </item>
  </channel>
</rss>

