Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
reg ex not to match
#3
so my sting is not known at the start but here is what the string could look like after its extracted

Function Function5
Code:
Copy      Help
str s=
;sip4  192.168.1.2 dip4 192.168.1.3 sport 3074 dport 23763 timeout 120
;sip4  192.168.1.2 dip4 192.168.1.4 sport 3074 dport 11456 timeout 125
;sip4  192.168.1.2 dip4 192.168.1.45 sport 3074 dport 3074 timeout 129
;sip4  192.168.1.2 dip4 192.168.1.98 sport 3074 dport 230 timeout 110
ARRAY(str) a
if(findrx(s pattern 0 4 a) <1) ret
a.sort(8)


Messages In This Thread
reg ex not to match - by redbull2k - 09-05-2018, 05:42 PM
RE: reg ex not to match - by Kevin - 09-05-2018, 06:40 PM
RE: reg ex not to match - by redbull2k - 09-05-2018, 07:26 PM
RE: reg ex not to match - by Gintaras - 09-05-2018, 07:29 PM
RE: reg ex not to match - by redbull2k - 09-05-2018, 08:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)