> For the complete documentation index, see [llms.txt](https://docs.zerowork.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zerowork.io/using-zerowork/using-selectors/how-to-build-custom-selectors/combine-filters-with-standard-css-logic.md).

# 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>" %}
