[[java-query-dsl-regexp-query]]
==== Regexp Query

See {ref}/query-dsl-regexp-query.html[Regexp Query]

[source,java]
--------------------------------------------------
QueryBuilder qb = regexpQuery(
    "name.first",        <1>
    "s.*y");             <2>
--------------------------------------------------
<1> field
<2> regexp