"CaptiveNetworkSupport wispr"

Good morning everyone,

I have several user agents of this type “CaptiveNetworkSupport-407.0.1 wispr” , “CaptiveNetworkSupport/1.0 wispr”, “CaptiveNetworkSupport-355.200.27 wispr”,
“CaptiveNetworkSupport wispr”, etc.
What is the correct regexp to insert in the following code in order to correctly select the user agents?
( the file is rlogin.html in hotspot )

$(if user agent == … )

$(else)

$(endif)


Thank you all
Giorgio