Page 1 of 1

Remove Octets?

Posted: Fri Feb 18, 2011 1:24 am
by hankster
Suggestions on how to remove the first two octets from an IP address?

For example, if I have 123.23.53.230, the RegEx would extract

53.20

Thanks.

Posted: Fri Feb 18, 2011 3:01 am
by ak47wong
I take it you mean "53.230" instead of "53.20" as the end result?

Find what: [0-9]+\.[0-9]+\.
Replace with: (nothing)