Hiya!
As far as I remember ZAP is using java regexp, so I think you should use something more like it.
I don't know the idea of links you're working with so I'll assume that it's a http or https:
```
http.*://.*a.*
```
This will PROBABLY return you all the links that have "a" in it
also you can work your way through that via something like this:
https://regex101.com/On that website you can fill in some placeholders and try to get exact match of what you need and train yourself how to work with it
Hope it'll help ya!