I am able to matchif ($line =~ m{\s+Prefix\s+((.*)::(\w{1,4})/(\d{1,3}))} ) { $ipv6Address = "$1::$2/$3"; }
In reply to Re^2: Regex host portion of IPv6 address
by ewhitt
in thread Regex host portion of IPv6 address
by ewhitt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |