Q:

OWASP Zap Exclude in Proxy everything but given URL

My question is pretty straightforward I want to exclude from proxy everything but this 2 URLS, just want to see the traffic of 1 site.
http://www.timetosa.com and https://www.timetosa.com
This is the REG I have inserted in the Exclude from Proxy section without success:
\Q!(http?://www.timetosa.com/)\E.*

A:

I came across this exact problem and this is the Regex that worked for me:
^(?:(?!http:\/\/localhost:3000).*).$

Where http://localhost:3000 is the only address I wanted included.

