--- title: Regex Phrase description: Matches a specific sequence of regex queries canonical: https://docs.paradedb.com/documentation/query-builder/phrase/regex-phrase --- Regex phrase matches a specific sequence of regex queries. Think of it like a conjunction of [regex](/documentation/query-builder/term/regex) queries, with positions and ordering of tokens enforced. For example, the regex phrase query for `ru.* shoes` will match `running shoes`, but will not match `shoes running`. ```sql SELECT description, rating, category FROM mock_items WHERE description @@@ pdb.regex_phrase(ARRAY['ru.*', 'shoes']); ```