Phrase filters are straightforward and effective for catching impersonators using specific, case-sensitive text in their usernames or nicknames.
If a user’s name contains the exact phrase (case-sensitive), Hashbot will take action.
How It Works
When you add a phrase to your blocklist, Hashbot checks every new name for that exact case-sensitive substring.
Example:
/name-filters add phrase PascalThis will match:
Pascal
Sir Pascal
Pascalou
Pascal the Great
But it will not match:
pascal
Pasca
pascalou
pascal 123
Capitalization matters — phrase filters are case-sensitive.
Real-World Example
Impersonators often swap visually similar characters, such as replacing a lowercase “l” with an uppercase “I”.
Example:
If your team member’s name is Signal, a scammer might use:
SignaI (capital “I” instead of lowercase “l”)
To catch this, add:/name-filters add phrase SignaIHashbot will flag any username containing this exact string — blocking the visual trick.
Best Practices
Use phrase filters for direct impersonation terms and known scam words
Target visual deceptions of team member names
Add both uppercase and lowercase variants if you want to catch all cases
Combine with Fuzzy Mode (Premium) for protection against Unicode-based spoofing
Use regex filters with (?i) for case-insensitive matching when needed
See how “SignaI” (with a capital I) looks like “Signal”? Phrase filters catch this kind of visual trickery. For broader case-insensitive matching, use a regex filter like (?i)signal instead.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hashbot","colors":{"primary":"#021eb5","light":"#021eb5","dark":"#021eb5"},"logo":{"light":"https://mintcdn.com/hashbot/I3GFbLDr2QAp4YXz/logo/light.svg?fit=max\u0026auto=format\u0026n=I3GFbLDr2QAp4YXz\u0026q=85\u0026s=ca0b7a2b3350f1be891089817c09bb9b","dark":"https://mintcdn.com/hashbot/I3GFbLDr2QAp4YXz/logo/dark.svg?fit=max\u0026auto=format\u0026n=I3GFbLDr2QAp4YXz\u0026q=85\u0026s=177e939809ce908f5dc07480ee00e4d4","href":"https://hashbot.com/"},"favicon":"https://mintcdn.com/hashbot/I3GFbLDr2QAp4YXz/favicon.svg?fit=max\u0026auto=format\u0026n=I3GFbLDr2QAp4YXz\u0026q=85\u0026s=4d1ca89a1030384001e47edcbc5197ad","appearance":{"default":"dark"},"background":{"decoration":"gradient"},"navbar":{"primary":{"type":"button","label":"Try now","href":"https://discord.com/discovery/applications/864148078733951006"}},"footer":{"socials":{"discord":"https://discord.com/invite/hashbot"}},"fonts":{"heading":{"family":"Poppins"},"body":{"family":"Poppins"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Contact Us","icon":"envelope","href":"mailto:hello@hashbot.com"},{"anchor":"Need help?","icon":"discord","href":"https://discord.com/invite/hashbot"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hashbot","hasAudioNarration":false,"actualSubdomain":"hashbot","customDomains":["hashbot.com"],"gitSource":{"type":"github","owner":"hashbotgg","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adf9a7fdb71f741ce587a84","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"Core configuration","count":17},{"language":"default","tag":"Blocklist management","count":15},{"language":"default","tag":"Hashbot Safety Suite","count":7},{"language":"default","tag":"Getting started","count":6},{"language":"default","tag":"Name-Filters","count":6},{"language":"default","tag":"PFP Protection","count":6},{"language":"default","tag":"Vision","count":5},{"language":"default","tag":"Reference \u0026 Support","count":4},{"language":"default","tag":"Phrase \u0026 Regex","count":3}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":".dark #navbar a{color:#3b82f6}"}]}
{"page":{"pagePath":"name-filters/phrase-and-regex/phrase","slug":"/name-filters/phrase-and-regex/phrase","pageMetadata":{"title":"Phrase","description":"Phrase filters are straightforward and effective for catching impersonators using specific, case-sensitive text in their usernames or nicknames.","icon":"font","href":"/name-filters/phrase-and-regex/phrase"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Phrase filters are straightforward and effective for catching impersonators using specific, case-sensitive text in their usernames or nicknames.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`If a user’s name contains the exact phrase (case-sensitive), Hashbot will take action.`}),`\n`,_jsx(Heading,{level:`3`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsxs(_components.p,{children:[`When you add a phrase to your blocklist, Hashbot checks every new name for that `,_jsx(_components.strong,{children:`exact case-sensitive substring`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`example`,children:`Example:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`/name-filters add phrase Pascal`})}),`\n`,_jsx(_components.p,{children:`This will match:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Pascal`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Sir Pascal`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Pascalou`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Pascal the Great`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`But it will `,_jsx(_components.strong,{children:`not`}),` match:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`pascal`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Pasca`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`pascalou`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`pascal 123`})}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Capitalization matters`}),` — phrase filters are case-sensitive.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`real-world-example`,children:`Real-World Example`}),`\n`,_jsxs(_components.p,{children:[`Impersonators often swap visually similar characters, such as replacing a lowercase `,_jsx(_components.strong,{children:`“l”`}),` with an uppercase `,_jsx(_components.strong,{children:`“I”`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`example-2`,children:`Example:`}),`\n`,_jsxs(_components.p,{children:[`If your team member’s name is `,_jsx(_components.strong,{children:`Signal`}),`, a scammer might use:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SignaI`}),` (capital “I” instead of lowercase “l”)`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`To catch this, add:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`/name-filters add phrase SignaI`})}),`\n`,_jsx(_components.p,{children:`Hashbot will flag any username containing this exact string — blocking the visual trick.`}),`\n`,_jsx(Heading,{level:`3`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Use phrase filters for `,_jsx(_components.strong,{children:`direct impersonation terms`}),` and known scam words`]}),`\n`,_jsx(_components.li,{children:`Target visual deceptions of team member names`}),`\n`,_jsx(_components.li,{children:`Add both uppercase and lowercase variants if you want to catch all cases`}),`\n`,_jsxs(_components.li,{children:[`Combine with `,_jsx(_components.strong,{children:`Fuzzy Mode`}),` (Premium) for protection against Unicode-based spoofing`]}),`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.strong,{children:`regex filters`}),` with `,_jsx(_components.code,{children:`(?i)`}),` for case-insensitive matching when needed`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`See how “SignaI” (with a capital `,_jsx(_components.code,{children:`I`}),`) looks like “Signal”? Phrase filters catch this kind of visual trickery. For broader case-insensitive matching, use a regex filter like `,_jsx(_components.code,{children:`(?i)signal`}),` instead.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Phrase","description":"Phrase filters are straightforward and effective for catching impersonators using specific, case-sensitive text in their usernames or nicknames.","icon":"font","href":"/name-filters/phrase-and-regex/phrase"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How It Works","slug":"how-it-works","depth":3,"children":[]},{"title":"Example:","slug":"example","depth":4,"children":[]},{"title":"Real-World Example","slug":"real-world-example","depth":3,"children":[]},{"title":"Example:","slug":"example-2","depth":4,"children":[]},{"title":"Best Practices","slug":"best-practices","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"hashbot","siteName":"Hashbot","title":"Phrase - Hashbot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-06T01:11:06.742Z","originalFileLocation":"name-filters/phrase-and-regex/phrase.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Phrase filters are straightforward and effective for catching impersonators using specific, case-sensitive text in their usernames or nicknames.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hashbot\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/hashbot/MRxpBLqIXtTrIBus/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/hashbot/MRxpBLqIXtTrIBus/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/hashbot/MRxpBLqIXtTrIBus/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/hashbot/MRxpBLqIXtTrIBus/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/hashbot/MRxpBLqIXtTrIBus/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/hashbot/MRxpBLqIXtTrIBus/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/hashbot/MRxpBLqIXtTrIBus/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/hashbot/MRxpBLqIXtTrIBus/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/hashbot/MRxpBLqIXtTrIBus/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Phrase - Hashbot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Phrase filters are straightforward and effective for catching impersonators using specific, case-sensitive text in their usernames or nicknames.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hashbot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://hashbot.com/docs/name-filters/phrase-and-regex/phrase\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hashbot.mintlify.site/docs/_mintlify/api/og/v2?division=Phrase+%26+Regex\u0026amp;title=Phrase\u0026amp;description=Phrase+filters+are+straightforward+and+effective+for+catching+impersonators+using+specific%2C+case-sensitive+text+in+their+usernames+or+nicknames.\u0026amp;theme=797b4f2a23411683118686b7\u0026amp;signature=da3af3b30152ab6d58717509545dc0ee8e58ecf6b3f0d1ba707af8c755a74ade\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Phrase - Hashbot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Phrase filters are straightforward and effective for catching impersonators using specific, case-sensitive text in their usernames or nicknames.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hashbot.mintlify.site/docs/_mintlify/api/og/v2?division=Phrase+%26+Regex\u0026amp;title=Phrase\u0026amp;description=Phrase+filters+are+straightforward+and+effective+for+catching+impersonators+using+specific%2C+case-sensitive+text+in+their+usernames+or+nicknames.\u0026amp;theme=797b4f2a23411683118686b7\u0026amp;signature=da3af3b30152ab6d58717509545dc0ee8e58ecf6b3f0d1ba707af8c755a74ade\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/hashbot/MRxpBLqIXtTrIBus/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hashbot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#021eb5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://hashbot.com/docs/name-filters/phrase-and-regex/phrase\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/name-filters/phrase-and-regex/phrase.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://hashbot.com/#organization\",\"name\":\"Hashbot\",\"url\":\"https://hashbot.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hashbot/I3GFbLDr2QAp4YXz/logo/light.svg?fit=max\u0026auto=format\u0026n=I3GFbLDr2QAp4YXz\u0026q=85\u0026s=ca0b7a2b3350f1be891089817c09bb9b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://hashbot.com/docs#website\",\"name\":\"Hashbot\",\"url\":\"https://hashbot.com/docs\",\"publisher\":{\"@id\":\"https://hashbot.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://hashbot.com/docs/name-filters/phrase-and-regex/phrase#webpage\",\"url\":\"https://hashbot.com/docs/name-filters/phrase-and-regex/phrase\",\"name\":\"Phrase\",\"description\":\"Phrase filters are straightforward and effective for catching impersonators using specific, case-sensitive text in their usernames or nicknames.\",\"dateModified\":\"2026-04-06T01:11:06.742Z\",\"isPartOf\":{\"@id\":\"https://hashbot.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://hashbot.com/docs/name-filters/phrase-and-regex/phrase#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://hashbot.com/docs/name-filters/phrase-and-regex/phrase#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blocklist management\",\"item\":\"https://hashbot.com/docs/name-filters\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Name-Filters\",\"item\":\"https://hashbot.com/docs/name-filters\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Phrase \u0026 Regex\",\"item\":\"https://hashbot.com/docs/name-filters/phrase-and-regex\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Phrase\",\"item\":\"https://hashbot.com/docs/name-filters/phrase-and-regex/phrase\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://hashbot.com/docs/name-filters/phrase-and-regex/phrase#article\",\"headline\":\"Phrase\",\"name\":\"Phrase\",\"description\":\"Phrase filters are straightforward and effective for catching impersonators using specific, case-sensitive text in their usernames or nicknames.\",\"url\":\"https://hashbot.com/docs/name-filters/phrase-and-regex/phrase\",\"mainEntityOfPage\":{\"@id\":\"https://hashbot.com/docs/name-filters/phrase-and-regex/phrase#webpage\"},\"dateModified\":\"2026-04-06T01:11:06.742Z\",\"publisher\":{\"@id\":\"https://hashbot.com/#organization\"},\"isPartOf\":{\"@id\":\"https://hashbot.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hashbot\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Hashbot\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/name-filters/phrase-and-regex/phrase.md","siteName":"Hashbot","nav":{"global":{"anchors":[{"anchor":"Contact Us","icon":"envelope","href":"mailto:hello@hashbot.com"},{"anchor":"Need help?","icon":"discord","href":"https://discord.com/invite/hashbot"}]},"groups":[{"group":"Getting started","pages":[{"title":"Introduction","icon":"book-open","href":"/index"},{"title":"Invite Hashbot","icon":"user-plus","href":"/invite-hashbot"},{"title":"Essential Setup","icon":"rocket","href":"/essential-setup"},{"title":"Dashboard","icon":"gauge","href":"/dashboard"},{"title":"Installation \u0026 Permissions","icon":"lock","href":"/hashbot-permissions"},{"title":"Hashbot Role \u0026 Other Bots","icon":"robot","href":"/hashbot-role-and-other-bots"}]},{"group":"Core configuration","pages":[{"title":"Server Overview","icon":"chart-simple","href":"/overview"},{"title":"Activate Subscription","icon":"shield-check","href":"/activate-subscription"},{"title":"Log Channel","icon":"clipboard-list","href":"/log-channel"},{"title":"Manager","icon":"user-tie","href":"/manager"},{"title":"Allowlist","icon":"user-check","href":"/allowlist"},{"title":"Fuzzy Mode","icon":"magnifying-glass","href":"/fuzzy-mode"},{"title":"Spam Scan \u0026 Auto Detection","icon":"shield-halved","href":"/spam-detection"},{"title":"Malicious Link Detection","icon":"link-slash","href":"/malicious-link-detection"},{"title":"AutoMod Escalation","icon":"gavel","href":"/automod-escalation"},{"title":"Brand Protection","icon":"fingerprint","href":"/brand-protection"},{"title":"Multi-Join Protection","icon":"user-group","href":"/multi-join"},{"title":"Templates","icon":"file-lines","sidebarTitle":"Templates","href":"/templates"},{"title":"Verification","icon":"shield-check","href":"/verification"},{"title":"Auto Prune","icon":"user-minus","href":"/auto-prune"},{"title":"Anti-Raid Mode","icon":"shield-halved","href":"/anti-raid"},{"title":"Anti-Everyone Protection","icon":"at","href":"/anti-everyone"},{"title":"Settings Status","icon":"gear","sidebarTitle":"Settings Status","href":"/status"}]},{"group":"Blocklist management","pages":[{"group":"Name-Filters","icon":"filter","pages":[{"title":"Name-Filters","icon":"circle-info","sidebarTitle":"Overview","href":"/name-filters"},{"title":"Add \u0026 Remove Filters","icon":"circle-plus","href":"/name-filters/add-and-remove-filter"},{"group":"Phrase \u0026 Regex","icon":"code","pages":[{"title":"Phrase \u0026 Regex","description":"Hashbot supports two filter types: phrase (literal match) and regex (pattern match). Here's when to use each.","sidebarTitle":"Overview","icon":"circle-info","href":"/name-filters/phrase-and-regex"},{"title":"Phrase","icon":"font","href":"/name-filters/phrase-and-regex/phrase"},{"title":"Regex","description":"Regex filters (short for *regular expressions*) allow for advanced pattern matching when detecting scam usernames or impersonators. They’re more granular and powerful than phrase filters — but they require a bit more care and testing.","icon":"code","href":"/name-filters/phrase-and-regex/regex"}]},{"title":"Test Filters","icon":"circle-check","href":"/name-filters/test-filters"}]},{"title":"Block Auto-Generated Usernames","icon":"robot","sidebarTitle":"Generated Names","href":"/generated-names"},{"title":"Cleanse","icon":"broom","href":"/cleanse"},{"group":"PFP Protection","icon":"image","pages":[{"title":"PFP Protection","icon":"circle-info","sidebarTitle":"Overview","href":"/pfp"},{"title":"PFP Setup","icon":"user-shield","href":"/pfp/pfp-setup"},{"title":"PFP Filter Removal","icon":"trash","href":"/pfp/pfp-removal"},{"title":"PFP Template","icon":"gear","href":"/pfp/pfp-template"},{"title":"PFP Review","icon":"eye","href":"/pfp/pfp-review"},{"title":"NSFW PFP Protection","icon":"eye-slash","href":"/pfp/pfp-nsfw"}]},{"title":"Auto-Pilot","icon":"fingerprint","href":"/filter-sync"}]},{"group":"Reference \u0026 Support","pages":[{"title":"Complete Command List","icon":"list-check","href":"/complete-command-list"},{"title":"Glossary","icon":"book","href":"/glossary"},{"title":"Frequently Asked Questions","icon":"circle-question","href":"/frequently-asked-questions"},{"title":"Hashbot Affiliate Program","icon":"sack-dollar","href":"/affiliate"}]},{"group":"Hashbot Safety Suite","pages":[{"title":"Meet the Hashbot Safety Suite","icon":"user-robot","sidebarTitle":"Meet Our Bots","href":"/hashbot-safety-suite"},{"group":"Vision","icon":"eye","pages":[{"title":"Hashbot Vision","icon":"eye","sidebarTitle":"Overview","href":"/vision"},{"title":"Action Log","icon":"scroll","href":"/vision/action-log"},{"title":"Vision Insight","icon":"radar","href":"/vision/vision-insight"},{"title":"Dashboard","icon":"browser","href":"/vision/dashboard"},{"title":"Commands","icon":"terminal","href":"/vision/commands"}]},{"title":"DM Disabler","icon":"xmark","href":"/dm-disabler"}]}]},"basePath":"","title":"Phrase - Hashbot","deploymentId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","buildId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","dynamics":[],"chunks":[]}