Community discussions

MikroTik App
 
VerayaTanaysa
just joined
Topic Author
Posts: 2
Joined: Fri Jun 02, 2023 6:40 am

How to select captive portal user agents?

Tue Oct 17, 2023 9:23 am

Given a list of user agents of the type CaptiveNetworkSupport-407.0.1 wispr, CaptiveNetworkSupport/1.0 wispr, CaptiveNetworkSupport-355.200.27 wispr, and CaptiveNetworkSupport wispr, what is the most concise and efficient regular expression that can be used to select these user agents in the following code snippet?

$(if user agent == ................ )
$(else)
.....
$(endif)

Who is online

Users browsing this forum: noyo and 4 guests