# Combine Filters with Standard CSS Logic

You can combine ZeroWork's *text=* method with the standard selector logic by using >> as a filter.

As an imaginary example, you can define a selector like this:

<mark style="background-color:yellow;">div > div\[role='main'] > div div >> text="Like"</mark>

{% hint style="warning" %}
\>> can only be added **at the end of the selector**. \
\
✅ This will work: <mark style="background-color:yellow;">div > div\[role='main'] > div div >> text="Like"</mark>\
❌ This will not work: <mark style="background-color:yellow;">div > div\[role='main'] > div >> text="Like" > div</mark>
{% endhint %}

### Video Tutorial: Combine text= with Standard Selector Logic

{% embed url="<https://youtu.be/mQBMNaEoE_o>" %}

### Example: Save Email Addresses from Facebook Pages by Combining text= with Standard Selector Logic

{% embed url="<https://youtu.be/7J5udyEt7ZY>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zerowork.io/using-zerowork/using-selectors/how-to-build-custom-selectors/combine-filters-with-standard-css-logic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
