[Ilugc] Some major help with Regex and perl
- From: arvind_7@xxxxxxxxxxx (Arvind Kalyan)
- Date: Wed, 4 Sep 2002 13:14:11 +0530
On Tuesday 03 Sep 2002 21:35, Abhilash_Shanmugham wrote:
DNFAR1S query tli tcp /dev/tcp \x00020bb8a9f3702f0000000000000000
v6=3000 // dec of 0bb8
v7=126.96.36.199 // (a9f3702f converted to decimal )
How do I match this pattern repeatedly so that I can create another file
awk is your friend here.
(The question was for perl)
Read `man perlre` its got all that you need to know about regex in perl.
After you read even half of it, you should be able to write down your own
code for doing what you wanted.
21CSE131 - II B.E. CSE, arvind@xxxxxxxxxxxx
Kongu Engineering College http://www.kongu.ac.in
Kongu Engineering College - Assuring the Best!!!
Other related posts: