November 21st, 2012, 11:05 PM
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 21st, 2012, 11:27 PM
Iam new to this but you can try
Removed as it was incorrect
November 21st, 2012, 11:48 PM
I dont need it any of the scripts.. I just need the regex..
November 22nd, 2012, 12:06 AM
Try this, as I said I am new to this, do make sure about it before using.
November 22nd, 2012, 12: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, 01:22 AM
Try this (untested):
November 30th, 2012, 12: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.