Hi @Venison Mogambi ,
The "include" command can't exclude characters from an output line. It is used to display only output lines matching the regular expression. The resulting output still shows the entire initial output line.
The regular expression you use would only match if the IP address would be the start and end of given output line (line with only an IP address). If you only want to match any output line that includes an IP address, you could use the following:
show ip bgp summary | include [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+
Regards,
Harold Ritter, CCIE #4168 (EI, SP)