Regex to allow all WebSocket

I am trying to make a regex exception to allow all WebSocket connections. I used this site (https://regexr.com) to test the expression, and it works there, but not in Sophos UTM. Here is my code:

^wss:\/\/\S+(\/\S+)*(\/)?$

I also tried this:

^wss://\S+(\/\S+)*(\/)?$

What do I need to change to make it work? I am testing WebSocket access via this site: https://websocketstest.com

Thanks!

Parents Reply Children
No Data