Select Pattern if this location should be searched only for queries that match a specific pattern or if you wish to use a ...

Select Pattern if this location should be searched only for queries that match a specific pattern or if you wish to use a .NET regular expression capture group. A capture group is a way to store part of the query in a named variable for later use in the Query Template.

Pattern Example: The pattern "(^([\w-\.]+)@([\w-]+\.)+([a-zA-Z]{2,4})$)" would search this location for email queries such as "[email protected]".

Capture Group Example: The pattern "weather(?.*)" would match the query "weather New York, NY" and store "New York, NY" in the capture group "". To only send this capture group to the location, replace "{searchTerms}" with "{city}" in the Query Template. (Note: this example replicates the behavior of a prefix trigger).