Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?:BSSID +: (?<bssid>[a-z0-9]{2}(?::[a-z0-9]{2}){5}))|(?:Signal +: (?<signal>\d+)%)
/
g
Input 1
There is 1 interface on the system: Name : Wi-Fi Description : Intel(R) Wi-Fi 6 AX201 160MHz GUID : random_guid Physical address : 36:fe:a6:54:12:b0 Interface type : Primary State : connected SSID : random_ssid BSSID : 36:fe:a6:54:12:b0 Network type : Infrastructure Radio type : 802.11ac Authentication : WPA2-Personal Cipher : CCMP Connection mode : Auto Connect Band
Extraction
There is 1 interface on the system: Name : Wi-Fi Description : Intel(R) Wi-Fi 6 AX201 160MHz GUID : random_guid Physical address : 36:fe:a6:54:12:b0 Interface type : Primary State : connected SSID : random_ssid BSSID : 36:fe:a6:54:12:b0 Network type : Infrastructure Radio type : 802.11ac Authentication : WPA2-Personal Cipher : CCMP Connection mode : Auto Connect Band