Sawmill
Download Sawmill 8.6.1
30 Days Free Trial
Home Products Downloads Purchase Support About About
Sawmill Sawmill

SAWMILLFORUM

Sawmill Discussion Forum

Subject: "Regular expression"     Previous Topic | Next Topic
Printer-friendly copy    
Conferences Support Topic #4693
Reading Topic #4693
net
Member since Apr-21-13
Apr-21-13, 02:20 AM (PDT)
Click to EMail net Click to send private message to net Click to view user profileClick to add this user to your buddy list  
"Regular expression"
 
   I want to have a filter regular expression to filter source:192.168.x.8 and destination: 172.18.x.y . Is it possible ? how can I do it?


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
msgildenadmin
Member since Apr-3-13
3 posts
Apr-22-13, 07:26 AM (PDT)
Click to EMail msgilden Click to send private message to msgilden Click to view user profileClick to add this user to your buddy list  
1. "RE: Regular expression"
In response to message #0
 
   LAST EDITED ON Apr-22-13 AT 10:40 AM (PDT)
 
I'm not sure what type of filtering you're trying to do, but one possible regular expression which will capture the IPs you referred to is this:

192<.>168<.>.*<.>8
172<.>18<.>.*<.>.*

The brackets around the literal dots are optional and included for clarity. And if you're only matching IP addresses, then everything after the first .* in the 172 expression is also optional.

msgilden
Sawmill Support


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top

Conferences | Topics | Previous Topic | Next Topic
© 2013 Flowerfire | Copyright | Privacy Policy | License Agreement | Terms of Use | Contact | Feedback | About
Sawmill Software
Sawmill Software
Back to Sawmill Home