How to create custom rule

Let’s understand by real-life example.

❓ Example

Suppose we have one url like this:
β‡’ author/bookname/.../

We want to group all tabs of x author into one group.
We want to match any publisher but author must be same.
How do we make this groups?

βœ… Solution of above example

If you know about basic regrex,you already know solution.
I will tell you easiest solution:
Simply replace publisher name with .*.
Our new rule will be written in this way:
β‡’ https://\*/x author/bookname/.../../