November 22nd, 2012, 12:05 AM
Need regex for populating IP address urgently
Hi, I work on logs and hence require a common regex for the below cases:
I need a common regex to display any of the above IPs
Also help me in writing a regex to display 37975 in
November 22nd, 2012, 12:27 AM
Iam new to this but you can try
Removed as it was incorrect
November 22nd, 2012, 12:48 AM
I dont need it any of the scripts.. I just need the regex..
November 22nd, 2012, 01:06 AM
Try this, as I said I am new to this, do make sure about it before using.
November 22nd, 2012, 01:10 AM
Hi, thanks for your help and it worked.
Can you please help me map the last 5 digits in this IP??
November 22nd, 2012, 02:22 AM
Try this (untested):
November 30th, 2012, 01:55 PM
For matching IP addresses in general, you might want to have a look at my article about regex and IP, which I finished today. It also covers IPv6 by the way.