Complex regex in a chronograph query

Hi all,

I need to migrate some log queries, the existing system uses regex extensively I have been able to ad simple regex to a query in chronograph but I failed with more complex ones like shown further down. What would be the best practice to filter my data with something like the attached regex? In case this should work with others, I’d be happy if you could provide an example code sniplet.

Thanks a lot !
Michael

(^192\.168\.21\.(19[2-9]|20[0-7])$)|
(^192\.168\.22\.(12[89]|1[3-5]\d)$)|
(^192\.168\.34\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.35\.([1-9]|1\d)$)|
(^192\.168\.35\.(3[4-9]|[4-9]\d|1\d\d|20[0-7])$)|
(^192\.168\.35\.(22[4-9]|2[34]\d|25[0-4])$)|
(^192\.168\.36\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.37\.(1[6-9]|[2-9]\d|1\d\d|2[0-4]\d|25[0-4])$)|
(^192\.168\.38\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.4[01]\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.44\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.4[6-8]\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.50\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.51\.([1-9]?\d|1\d\d|2[0-3]\d)$)|
(^192\.168\.(59|6[01])\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.(6[4-9]|7\d|8[0-6])\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.(8[89]|9[0-7])\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.103\.(22[4-9]|2[3-9]\d)$)|
(^192\.168\.10[4-8]\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.11[01]\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.112\.(22[4-9]|2[3-9]\d)$)|
(^192\.168\.114\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.(12[6-9]|13\d|140)\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.141\.(1[6-9]|[2-9]\d|1\d\d|2[0-4]\d|25[0-4])$)|
(^192\.168\.142\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.143\.([1-9]|1\d|2[0-3])$)|
(^192\.168\.144\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.151\.(3[2-9]|[4-9]\d|1\d\d|2[0-4]\d|25[0-4])$)|
(^192\.168\.152\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.181\.([1-9]|[1-9]\d|1[0-3]\d|14[0-3])$)|
(^192\.168\.(181\.([2-9]\d|[12]\d\d)|182\.[01])$)|
(^192\.168\.(181\.(12[7-9]|1[3-9]\d|2\d\d)|182\.([1-3]?\d|4[0-8]))$)|
(^192\.168\.182\.(239|24\d|25[0-4])$)|
(^192\.168\.18[3-8]\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.189\.([1-9]|[1-9]\d|1[01]\d|12[0-8])$)|
(^192\.168\.189\.(19[1-9]|2[0-4]\d|25[0-4])$)|
(^192\.168\.19[0-7]\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.20[0-5]\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.207\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.245\.([1-9]?\d|[12]\d\d)$)|
(^192\.168\.(247\.(1[7-9]|[2-9]\d|[12]\d\d)|249\.(1?\d|2[01])|248\.([1-9]?\d|[12]\d\d))$)|
(^192\.168\.249\.5$)|
(^192\.168\.249\.1$)|
(^192\.168\.249\.10$