Remove Octets?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
hankster
Posts: 15
Joined: Thu May 20, 2004 2:34 pm

Remove Octets?

Post 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.
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post 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)
Post Reply