build_query_regex
Build a Unicode-safe Search Console regex for a term to match common spellings across scripts and use it as a query_regex filter.
Instructions
Build a Search Console regex for a term that works in any script and matches its common spellings.
Use the result as query_regex in other tools or paste it into the Search Console UI (regex filter). RE2's \b is ASCII-only, so this uses Unicode-safe boundaries; Arabic script gets ی/ي, ک/ك, ه/ة, ا/أ/إ/آ classes with optional vowel marks and half-spaces; digits match Persian, Arabic-Indic and full-width forms; Cyrillic е/ё; case-insensitive. loose=True also lets words run together. Accent and kana variants are not covered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | ||
| loose | No | ||
| whole_word | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |