RTILA allows to use FILTERS to add regular expressions.
In this example, we use the DOM from: https://books.toscrape.com/
![](https://rtila.com/wp-content/uploads/2023/03/image-16.png)
The rating comes from a paragraph class, and it’s labeled with words from “One” to “Five”.
It’s convenient to target the .star-rating class, and extract the rating word with a Regular Expression.
In RTILA, create a selector with:
![](https://rtila.com/wp-content/uploads/2023/03/image-17.png)
And create a Filter with the following Regular Expression:
(One|Two|Three|Four|Five)
![](https://rtila.com/wp-content/uploads/2023/03/image-18.png)
Check the results in the preview panel:
![](https://rtila.com/wp-content/uploads/2023/03/image-19.png)
You can learn more about filters from https://rtila.com/docs/using-filters-to-complete-a-url/