5K members online now
Ask questions about filter set-up and issues with using filters in Google Analytics reports
 
Guide Me
star_border
Reply

Regex help

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

IP adress 0.0.0.1 to 255.255.255.255 is OK except the range between 192.168.1.0 to 192.168.1.255

Any help is appreciated...

 

//Mats

1 Expert replyverified_user

Regex help

Top Contributor
# 2
Top Contributor

Hi :-)
Regex for the ip range 192.168.1.0 to 192.168.1.255

^192\.168\.1\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))$

 

handy tool

http://www.analyticsmarket.com/freetools/ipregex

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here